Skip to content

Commit be22e82

Browse files
committed
adapt to recent wasm-tools changes
1 parent 206ce42 commit be22e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wac-graph/src/encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ impl<'a> TypeEncoder<'a> {
613613
let cases = variant
614614
.cases
615615
.iter()
616-
.map(|(n, ty)| (n.as_str(), ty.map(|ty| self.value_type(state, ty)), None))
616+
.map(|(n, ty)| (n.as_str(), ty.map(|ty| self.value_type(state, ty))))
617617
.collect::<Vec<_>>();
618618

619619
let index = state.current.encodable.type_count();

0 commit comments

Comments
 (0)