mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-02 16:59:18 +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"
|
unsafe_code = "forbid"
|
||||||
# You don't need unstable features in Rustlings and shouldn't rely on them while learning Rust
|
# You don't need unstable features in Rustlings and shouldn't rely on them while learning Rust
|
||||||
unstable_features = "forbid"
|
unstable_features = "forbid"
|
||||||
|
# To avoid showing unnecessary `x is never used` warnings
|
||||||
|
unused = { level = "allow", priority = -1 }
|
||||||
|
|
||||||
[lints.clippy]
|
[lints.clippy]
|
||||||
# You forgot a `todo!()`
|
# You forgot a `todo!()`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user