Skip to content

Commit b257398

Browse files
committed
allow clippy rule mut_from_ref
Signed-off-by: onur-ozkan <[email protected]>
1 parent 0249531 commit b257398

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/symbolize/gimli/stash.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ impl Stash {
2222

2323
/// Allocates a buffer of the specified size and returns a mutable reference
2424
/// to it.
25+
#[allow(clippy::mut_from_ref)]
2526
pub fn allocate(&self, size: usize) -> &mut [u8] {
2627
// SAFETY: this is the only function that ever constructs a mutable
2728
// reference to `self.buffers`.

0 commit comments

Comments
 (0)