1
0
mirror of https://github.com/fluencelabs/wasmer synced 2025-07-25 04:12:01 +00:00

Fix typo in panic!

This commit is contained in:
Nick Lewycky
2019-06-18 15:15:49 -07:00
parent e3af924391
commit 3e0a2a05e2

@@ -139,7 +139,7 @@ impl LocalBacking {
if let Value::I32(x) = imports.globals[import_global_index].get() {
x as u32
} else {
panic!("unsupported global type for initialzer")
panic!("unsupported global type for initializer")
}
}
} as usize;
@@ -210,7 +210,7 @@ impl LocalBacking {
if let Value::I32(x) = imports.globals[import_global_index].get() {
x as u32
} else {
panic!("unsupported global type for initialzer")
panic!("unsupported global type for initializer")
}
}
} as usize;