mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
fix: showing unnecessary x is never used warnings
This commit is contained in:
parent
2b7caf6fcb
commit
6216092182
@ -207,6 +207,8 @@ panic = "abort"
|
||||
unsafe_code = "forbid"
|
||||
# You don't need unstable features in Rustlings and shouldn't rely on them while learning Rust
|
||||
unstable_features = "forbid"
|
||||
# To avoid showing unnecessary `x is never used` warnings
|
||||
unused = { level = "allow", priority = -1 }
|
||||
|
||||
[lints.clippy]
|
||||
# You forgot a `todo!()`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user