Skip to content

Commit

Permalink
apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Dec 9, 2023
1 parent 1c65d11 commit 3ecbd1e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/wasmi/src/module/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ impl ModuleParser {
}

/// Parse the Wasm module header.
///
///
/// - The Wasm module header is the set of all sections that appear before
/// the Wasm code section.
/// - We separate parsing of the Wasm module header since the information of
/// the Wasm module header is required for translating the Wasm code section.
///
///
/// # Errors
///
///
/// If the Wasm bytecode stream fails to parse or validate.
fn parse_header(
&mut self,
Expand Down Expand Up @@ -220,13 +220,13 @@ impl ModuleParser {
}

/// Parse the Wasm data section and finalize parsing.
///
///
/// We separate parsing of the Wasm data section since it is the only Wasm
/// section that comes after the Wasm code section that we have to separate
/// out for technical reasons.
///
///
/// # Errors
///
///
/// If the Wasm bytecode stream fails to parse or validate.
fn parse_code(
&mut self,
Expand Down

0 comments on commit 3ecbd1e

Please sign in to comment.