Skip to content

Commit bd91091

Browse files
authored
Fix formatting for Rust 1.72.0 (#1178)
1 parent 6b4a8b0 commit bd91091

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

crates/wit-component/src/linking.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,15 @@ fn make_stubs_module(missing: &[(&str, Export)]) -> Vec<u8> {
10661066
for (offset, (_, export)) in missing.iter().enumerate() {
10671067
let offset = u32::try_from(offset).unwrap();
10681068

1069-
let Export { key: ExportKey { name, ty: Type::Function(ty) }, .. } = export else {
1069+
let Export {
1070+
key:
1071+
ExportKey {
1072+
name,
1073+
ty: Type::Function(ty),
1074+
},
1075+
..
1076+
} = export
1077+
else {
10701078
unreachable!();
10711079
};
10721080

0 commit comments

Comments
 (0)