diff --git a/crates/javy/src/alloc.rs b/crates/javy/src/alloc.rs index 706e8b13..cc0a5745 100644 --- a/crates/javy/src/alloc.rs +++ b/crates/javy/src/alloc.rs @@ -18,8 +18,8 @@ const ZERO_SIZE_ALLOCATION_PTR: *mut u8 = 1 as _; /// /// 1. Allocate memory of new_size with alignment. /// 2. If original_ptr != 0. -/// a. copy min(new_size, original_size) bytes from original_ptr to new memory. -/// b. de-allocate original_ptr. +/// a. copy min(new_size, original_size) bytes from original_ptr to new memory. +/// b. de-allocate original_ptr. /// 3. Return new memory ptr. /// /// # Safety