diff --git a/src/linear_map.rs b/src/linear_map.rs index d096f210a2..896e756571 100644 --- a/src/linear_map.rs +++ b/src/linear_map.rs @@ -462,6 +462,7 @@ impl<'a, K, V> Clone for Iter<'a, K, V> { } impl Drop for LinearMap { + #[allow(dropping_references)] fn drop(&mut self) { // heapless::Vec implements drop right? drop(&self.buffer);