From f5e228f6fb0a93a59a3e881700f06aef8a4031bc Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:09:53 +0000 Subject: [PATCH] docs(allocator): fix typo in comment (#20972) Just fix a typo in a comment. --- crates/oxc_allocator/src/bump.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_allocator/src/bump.rs b/crates/oxc_allocator/src/bump.rs index 9a42bdbe2e541..fe4a516583038 100644 --- a/crates/oxc_allocator/src/bump.rs +++ b/crates/oxc_allocator/src/bump.rs @@ -2110,7 +2110,7 @@ impl Bump { // Set the new chunk as our new current chunk. self.current_chunk_footer.set(new_footer); - // And then we can rely on `tray_alloc_layout_fast` to allocate + // And then we can rely on `try_alloc_layout_fast` to allocate // space within this chunk. let ptr = self.try_alloc_layout_fast(layout); debug_assert!(ptr.is_some());