Commit 4043fa7
committed
Ignore modulo_one clippy lint
warning: any number modulo 1 will be 0
--> src/lib.rs:272:12
|
272 | if i % Pow10SignificandsTable::COMPRESSION_RATIO == 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#modulo_one
= note: `-W clippy::modulo-one` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::modulo_one)]`1 parent 077ffb3 commit 4043fa7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments