Rustfmt and update docs
This commit is contained in:
@@ -164,7 +164,7 @@ pub struct SimpleJITCompiledData {
|
||||
relocs: Vec<RelocRecord>,
|
||||
}
|
||||
|
||||
/// A handle to allow freeing memory allocated by the `Backend`.
|
||||
/// A handle to allow freeing memory allocated by the `Module`.
|
||||
struct SimpleJITMemoryHandle {
|
||||
code: Memory,
|
||||
readonly: Memory,
|
||||
@@ -360,7 +360,7 @@ impl SimpleJITModule {
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a new `SimpleJITBackend`.
|
||||
/// Create a new `SimpleJITModule`.
|
||||
pub fn new(builder: SimpleJITBuilder) -> Self {
|
||||
let memory = SimpleJITMemoryHandle {
|
||||
code: Memory::new(),
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
mod backend;
|
||||
mod memory;
|
||||
|
||||
pub use crate::backend::{SimpleJITModule, SimpleJITBuilder, SimpleJITProduct};
|
||||
pub use crate::backend::{SimpleJITBuilder, SimpleJITModule, SimpleJITProduct};
|
||||
|
||||
/// Version number of this crate.
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
Reference in New Issue
Block a user