Repository navigation
Commit 95f67a0
committed
Ignore return_self_not_must_use clippy lint
error: missing `#[must_use]` attribute on a method returning `Self`
--> src/map.rs:595:5
|
595 | / pub fn and_modify<F>(self, f: F) -> Self
596 | | where
597 | | F: FnOnce(&mut Value),
598 | | {
... |
605 | | }
606 | | }
| |_____^
|
= note: `-D clippy::return-self-not-must-use` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
error: missing `#[must_use]` attribute on a method returning `Self`
--> src/value/mod.rs:836:5
|
836 | / pub fn take(&mut self) -> Value {
837 | | mem::replace(self, Value::Null)
838 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use1 parent 296f718 commit 95f67a0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| |||
0 commit comments