File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ panic = "abort"
207
207
unsafe_code = " forbid"
208
208
# You don't need unstable features in Rustlings and shouldn't rely on them while learning Rust.
209
209
unstable_features = " forbid"
210
+ # Dead code warnings can't be avoided in some exercises and might distract while learning.
211
+ dead_code = " allow"
210
212
211
213
[lints .clippy ]
212
214
# You forgot a `todo!()`!
@@ -217,7 +219,5 @@ empty_loop = "forbid"
217
219
infinite_loop = " deny"
218
220
# You shouldn't leak memory while still learning Rust!
219
221
mem_forget = " deny"
220
- # Dead code warnings can't be avoided in some exercises and might distract while learning.
221
- dead_code = " allow"
222
222
# Currently, there are no disallowed methods. This line avoids problems when developing Rustlings.
223
223
disallowed_methods = " allow"
You can’t perform that action at this time.
0 commit comments