Skip to content

Commit f5e228f

Browse files
committed
docs(allocator): fix typo in comment (#20972)
Just fix a typo in a comment.
1 parent 7159d51 commit f5e228f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/oxc_allocator/src/bump.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ impl<const MIN_ALIGN: usize> Bump<MIN_ALIGN> {
21102110
// Set the new chunk as our new current chunk.
21112111
self.current_chunk_footer.set(new_footer);
21122112

2113-
// And then we can rely on `tray_alloc_layout_fast` to allocate
2113+
// And then we can rely on `try_alloc_layout_fast` to allocate
21142114
// space within this chunk.
21152115
let ptr = self.try_alloc_layout_fast(layout);
21162116
debug_assert!(ptr.is_some());

0 commit comments

Comments
 (0)