From a90f66f98cb6eb57d734fc268dc893a02c183b13 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Wed, 20 Dec 2023 02:40:56 +0100 Subject: [PATCH] lib/api/src/js/store.rs: fix typo Fixes a small typo in lib/api/src/js/store.rs (taht -> that) --- lib/api/src/js/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/js/store.rs b/lib/api/src/js/store.rs index bd2ad83a207..03f229af33b 100644 --- a/lib/api/src/js/store.rs +++ b/lib/api/src/js/store.rs @@ -96,7 +96,7 @@ mod objects { } /// Set a global, at index idx. Will panic if idx is out of range - /// Safety: the caller should check taht the raw value is compatible + /// Safety: the caller should check that the raw value is compatible /// with destination VMGlobal type pub fn set_global_unchecked(&self, idx: usize, new_val: u128) { assert!(idx < self.globals.len());