From 6a9c971f91ab064be3f68f999a944eec487f8cb8 Mon Sep 17 00:00:00 2001 From: Alistair Date: Thu, 19 Dec 2024 09:46:55 +0000 Subject: [PATCH] Update crates/jstz_engine/src/gc/ptr.rs Co-authored-by: zcabter <96953513+zcabter@users.noreply.github.com> --- crates/jstz_engine/src/gc/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/jstz_engine/src/gc/ptr.rs b/crates/jstz_engine/src/gc/ptr.rs index 2be6a7dbd..dc4dedae8 100644 --- a/crates/jstz_engine/src/gc/ptr.rs +++ b/crates/jstz_engine/src/gc/ptr.rs @@ -96,7 +96,7 @@ impl GcPtr { /// points to a valid `js::gc::Cell`. pub unsafe fn get(&self) -> T { // Note: read_unaligned is used since SpiderMonkey doesn't - // guarantee the expected align of Rust pointers. + // guarantee the expected alignment of Rust pointers. self.inner_ptr.get().read_unaligned() }