Skip to content

Commit

Permalink
lib/api/src/js/store.rs: fix typo
Browse files Browse the repository at this point in the history
Fixes a small typo in lib/api/src/js/store.rs (taht -> that)
  • Loading branch information
disconnect3d authored and theduke committed Dec 21, 2023
1 parent cc460b5 commit a90f66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/js/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a90f66f

Please sign in to comment.