Rustfmt and update docs

This commit is contained in:
bjorn3
2020-10-01 09:53:23 +02:00
parent 9ccf837092
commit b061694491
7 changed files with 15 additions and 15 deletions

View File

@@ -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(),