We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d282d48 commit e8d61deCopy full SHA for e8d61de
src/identifier.rs
@@ -248,7 +248,7 @@ impl Drop for Identifier {
248
let size = bytes_for_varint(len) + len.get();
249
let align = 2;
250
// SAFETY: align is not zero, align is a power of two, and rounding
251
- // size up to align does not overflow usize::MAX. These guarantees were
+ // size up to align does not overflow isize::MAX. These guarantees were
252
// made when originally allocating this memory.
253
let layout = unsafe { Layout::from_size_align_unchecked(size, align) };
254
// SAFETY: ptr was previously allocated by the same allocator with the
0 commit comments