diff --git a/wasm-ast/src/factory.rs b/wasm-ast/src/factory.rs index d4e3ee4..2963164 100644 --- a/wasm-ast/src/factory.rs +++ b/wasm-ast/src/factory.rs @@ -38,7 +38,7 @@ enum BlockData { impl Default for BlockData { fn default() -> Self { - BlockData::Forward { num_result: 0 } + Self::Forward { num_result: 0 } } }