From 3e0a2a05e2ee66aad870fabf9bd2978ae1a3ae48 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 18 Jun 2019 15:15:49 -0700 Subject: [PATCH] Fix typo in panic! --- lib/runtime-core/src/backing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runtime-core/src/backing.rs b/lib/runtime-core/src/backing.rs index 2078837b0..39f232bc8 100644 --- a/lib/runtime-core/src/backing.rs +++ b/lib/runtime-core/src/backing.rs @@ -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;