Skip to content

Commit 133bb61

Browse files
committed
Ignore derivable_impls clippy false positive
rust-lang/rust-clippy#7655 error: this `impl` can be derived --> src/map.rs:254:1 | 254 | / impl Default for Map<String, Value> { 255 | | #[inline] 256 | | fn default() -> Self { 257 | | Map { ... | 260 | | } 261 | | } | |_^ | = note: `#[deny(clippy::derivable_impls)]` implied by `#[deny(clippy::all)]` = help: try annotating `map::Map` with `#[derive(Default)]` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
1 parent f6bbab4 commit 133bb61

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/map.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ impl Map<String, Value> {
251251
}
252252
}
253253

254+
#[allow(clippy::derivable_impls)] // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7655
254255
impl Default for Map<String, Value> {
255256
#[inline]
256257
fn default() -> Self {

0 commit comments

Comments
 (0)