mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-17 22:58:08 -05:00
Move lint to Rust lints
This commit is contained in:
parent
0513660b05
commit
4ffce1c297
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
# Dead code warnings can't be avoided in some exercises and might distract while learning.
|
||||||
|
dead_code = "allow"
|
||||||
|
|
||||||
[lints.clippy]
|
[lints.clippy]
|
||||||
# You forgot a `todo!()`!
|
# You forgot a `todo!()`!
|
||||||
|
@ -217,7 +219,5 @@ empty_loop = "forbid"
|
||||||
infinite_loop = "deny"
|
infinite_loop = "deny"
|
||||||
# You shouldn't leak memory while still learning Rust!
|
# You shouldn't leak memory while still learning Rust!
|
||||||
mem_forget = "deny"
|
mem_forget = "deny"
|
||||||
# Dead code warnings can't be avoided in some exercises and might distract while learning.
|
|
||||||
dead_code = "allow"
|
|
||||||
# Currently, there are no disallowed methods. This line avoids problems when developing Rustlings.
|
# Currently, there are no disallowed methods. This line avoids problems when developing Rustlings.
|
||||||
disallowed_methods = "allow"
|
disallowed_methods = "allow"
|
||||||
|
|
Loading…
Reference in a new issue