diff options
Diffstat (limited to 'examples/archive.rs')
| -rw-r--r-- | examples/archive.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/archive.rs b/examples/archive.rs index ea82c51..f1a19b6 100644 --- a/examples/archive.rs +++ b/examples/archive.rs @@ -11,12 +11,12 @@ const WASM: &str = r#" "#; fn main() -> Result<()> { - let wasm = wat::parse_str(WASM).expect("failed to parse wat"); + let wasm = wat::parse_str(WASM).expect("Failed to parse WAT"); let module = Parser::default().parse_module_bytes(wasm)?; let twasm = module.serialize_twasm(); - // now, you could e.g. write twasm to a file called `add.twasm` - // and load it later in a different program + // Now, you could e.g. write `twasm` to a file called `add.twasm` + // and load it later in a different program. let module: Module = TinyWasmModule::from_twasm(&twasm)?.into(); let mut store = Store::default(); |
