Skip to content

Commit

Permalink
wasm-encoder: fix typo (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrown authored Jun 23, 2021
1 parent 4fe158d commit 8a17095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasm-encoder/src/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl ModuleSection {
self.num_added
}

/// Writes a dmodule into this module code section.
/// Writes a module into this module code section.
pub fn module(&mut self, module: &Module) -> &mut Self {
self.bytes.extend(
encoders::u32(u32::try_from(module.bytes.len()).unwrap())
Expand Down

0 comments on commit 8a17095

Please sign in to comment.