enable clippy pedantic for nova-stats, fix all warnings
This commit is contained in:
parent
64d0172bee
commit
e30cae5c7f
5 changed files with 15 additions and 17 deletions
|
|
@ -3,6 +3,12 @@ name = "nova-stats"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints.clippy]
|
||||
pedantic = { level = "warn", priority = -1 }
|
||||
cast_possible_truncation = "allow"
|
||||
cast_precision_loss = "allow"
|
||||
cast_sign_loss = "allow"
|
||||
|
||||
[[bin]]
|
||||
name = "nova-stats"
|
||||
path = "src/main.rs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue