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.
mut_from_ref
1 parent 0249531 commit b257398Copy full SHA for b257398
src/symbolize/gimli/stash.rs
@@ -22,6 +22,7 @@ impl Stash {
22
23
/// Allocates a buffer of the specified size and returns a mutable reference
24
/// to it.
25
+ #[allow(clippy::mut_from_ref)]
26
pub fn allocate(&self, size: usize) -> &mut [u8] {
27
// SAFETY: this is the only function that ever constructs a mutable
28
// reference to `self.buffers`.
0 commit comments