Skip to content

Commit 779dd35

Browse files
committed
manual clippy fixes
1 parent 8e4b1c8 commit 779dd35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/proc_macro/src/bridge/arena.rs

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ impl Arena {
6868
/// Allocates a byte slice with specified size from the current memory
6969
/// chunk. Returns `None` if there is no free space left to satisfy the
7070
/// request.
71+
#[allow(clippy::mut_from_ref)]
7172
fn alloc_raw_without_grow(&self, bytes: usize) -> Option<&mut [MaybeUninit<u8>]> {
7273
let start = self.start.get().addr();
7374
let old_end = self.end.get();

0 commit comments

Comments
 (0)