Commit 2ccb5b6
committed
Disable question_mark clippy lint in lexical test
Serde_json uses #![deny(clippy::question_mark_used)].
warning: this `match` expression can be replaced with `?`
--> tests/../src/lexical/algorithm.rs:54:21
|
54 | let value = match mantissa.checked_mul(power) {
| _____________________^
55 | | None => return None,
56 | | Some(value) => value,
57 | | };
| |_________^ help: try instead: `mantissa.checked_mul(power)?`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `-W clippy::question-mark` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::question_mark)]`1 parent a11f5f2 commit 2ccb5b6
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments