We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa76aab commit 58651d1Copy full SHA for 58651d1
library/proc_macro/src/bridge/arena.rs
@@ -68,6 +68,7 @@ impl Arena {
68
/// Allocates a byte slice with specified size from the current memory
69
/// chunk. Returns `None` if there is no free space left to satisfy the
70
/// request.
71
+ #[allow(clippy::mut_from_ref)]
72
fn alloc_raw_without_grow(&self, bytes: usize) -> Option<&mut [MaybeUninit<u8>]> {
73
let start = self.start.get().addr();
74
let old_end = self.end.get();
0 commit comments