We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24995ee commit 63d4aa6Copy full SHA for 63d4aa6
crates/oxc_allocator/src/string.rs
@@ -205,7 +205,7 @@ impl<'alloc> String<'alloc> {
205
//
206
// If `str` is empty, `len` is 0.
207
// 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
+ // `copy_nonoverlapping` requires that `src` and `dst` must both
209
// "be valid for reads of `count * size_of::<T>()` bytes".
210
// However, safety docs for `std::ptr` (https://doc.rust-lang.org/std/ptr/index.html#safety)
211
// state that:
0 commit comments