We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fdf306 commit 4087dcfCopy full SHA for 4087dcf
lib/la-arena/src/map.rs
@@ -252,6 +252,7 @@ where
252
{
253
/// Ensures a value is in the entry by inserting the default value if empty, and returns a mutable reference
254
/// to the value in the entry.
255
+ // BUG this clippy lint is a false positive
256
#[allow(clippy::unwrap_or_default)]
257
pub fn or_default(self) -> &'a mut V {
258
self.or_insert_with(Default::default)
0 commit comments