Skip to content

Commit 63d4aa6

Browse files
committed
docs(allocator): fix quotes in comment (#10353)
1 parent 24995ee commit 63d4aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_allocator/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ impl<'alloc> String<'alloc> {
205205
//
206206
// If `str` is empty, `len` is 0.
207207
// If `total_len == 0`, `dst` is a dangling pointer, *not* valid for read or write of a `u8`.
208-
// `copy_nonoverlapping` requires that `src` and `dst must both
208+
// `copy_nonoverlapping` requires that `src` and `dst` must both
209209
// "be valid for reads of `count * size_of::<T>()` bytes".
210210
// However, safety docs for `std::ptr` (https://doc.rust-lang.org/std/ptr/index.html#safety)
211211
// state that:

0 commit comments

Comments
 (0)