summaryrefslogtreecommitdiff
path: root/crates/parser/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/parser/src/lib.rs')
-rw-r--r--crates/parser/src/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs
index 684e79b..4eda84b 100644
--- a/crates/parser/src/lib.rs
+++ b/crates/parser/src/lib.rs
@@ -55,11 +55,7 @@ pub struct ParserOptions {
impl Default for ParserOptions {
fn default() -> Self {
- Self {
- optimize_local_memory_allocation: true,
- optimize_rewrite: true,
- optimize_remove_nop: true,
- }
+ Self { optimize_local_memory_allocation: true, optimize_rewrite: true, optimize_remove_nop: true }
}
}
@@ -96,7 +92,6 @@ impl ParserOptions {
pub const fn optimize_remove_nop(&self) -> bool {
self.optimize_remove_nop
}
-
}
/// A WebAssembly parser