Skip to content

Commit

Permalink
Automatic deploy to GitHub Pages: 919f698
Browse files Browse the repository at this point in the history
  • Loading branch information
GHA CI committed Nov 1, 2023
1 parent 0d98a4f commit 9a76000
Showing 1 changed file with 34 additions and 19 deletions.
53 changes: 34 additions & 19 deletions master/lints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@
"id": "empty_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 271
"line": 272
},
"group": "suspicious",
"level": "warn",
Expand Down Expand Up @@ -2048,7 +2048,7 @@
"id": "explicit_counter_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 237
"line": 238
},
"group": "complexity",
"level": "warn",
Expand Down Expand Up @@ -2078,7 +2078,7 @@
"id": "explicit_into_iter_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 148
"line": 149
},
"group": "pedantic",
"level": "allow",
Expand All @@ -2093,7 +2093,7 @@
"id": "explicit_iter_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 119
"line": 120
},
"group": "pedantic",
"level": "allow",
Expand Down Expand Up @@ -2483,7 +2483,7 @@
"id": "for_kv_map",
"id_span": {
"path": "src/loops/mod.rs",
"line": 327
"line": 328
},
"group": "style",
"level": "warn",
Expand Down Expand Up @@ -3416,7 +3416,7 @@
"id": "iter_next_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 172
"line": 173
},
"group": "correctness",
"level": "deny",
Expand Down Expand Up @@ -4076,7 +4076,7 @@
"id": "manual_find",
"id_span": {
"path": "src/loops/mod.rs",
"line": 575
"line": 576
},
"group": "complexity",
"level": "warn",
Expand Down Expand Up @@ -4106,7 +4106,7 @@
"id": "manual_flatten",
"id_span": {
"path": "src/loops/mod.rs",
"line": 508
"line": 509
},
"group": "complexity",
"level": "warn",
Expand Down Expand Up @@ -4241,7 +4241,7 @@
"id": "manual_memcpy",
"id_span": {
"path": "src/loops/mod.rs",
"line": 54
"line": 55
},
"group": "perf",
"level": "warn",
Expand Down Expand Up @@ -4496,7 +4496,7 @@
"id": "manual_while_let_some",
"id_span": {
"path": "src/loops/mod.rs",
"line": 605
"line": 633
},
"group": "style",
"level": "warn",
Expand Down Expand Up @@ -5164,7 +5164,7 @@
"id": "missing_spin_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 544
"line": 545
},
"group": "perf",
"level": "warn",
Expand Down Expand Up @@ -5455,7 +5455,7 @@
"id": "mut_range_bound",
"id_span": {
"path": "src/loops/mod.rs",
"line": 385
"line": 386
},
"group": "suspicious",
"level": "warn",
Expand Down Expand Up @@ -5878,7 +5878,7 @@
"id": "needless_range_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 85
"line": 86
},
"group": "style",
"level": "warn",
Expand Down Expand Up @@ -6028,7 +6028,7 @@
"id": "never_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 349
"line": 350
},
"group": "correctness",
"level": "deny",
Expand Down Expand Up @@ -7681,7 +7681,7 @@
"id": "same_item_push",
"id_span": {
"path": "src/loops/mod.rs",
"line": 448
"line": 449
},
"group": "style",
"level": "warn",
Expand Down Expand Up @@ -8104,7 +8104,7 @@
"id": "single_element_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 476
"line": 477
},
"group": "complexity",
"level": "warn",
Expand Down Expand Up @@ -9825,6 +9825,21 @@
"applicability": "Unresolved"
}
},
{
"id": "unused_enumerate_index",
"id_span": {
"path": "src/loops/mod.rs",
"line": 603
},
"group": "style",
"level": "warn",
"docs": "\n### What it does\nChecks for uses of the `enumerate` method where the index is unused (`_`)\n\n### Why is this bad?\nThe index from `.enumerate()` is immediately dropped.\n\n### Example\n```rust\nlet v = vec![1, 2, 3, 4];\nfor (_, x) in v.iter().enumerate() {\n println!(\"{x}\");\n}\n```\nUse instead:\n```rust\nlet v = vec![1, 2, 3, 4];\nfor x in v.iter() {\n println!(\"{x}\");\n}\n```",
"version": "1.75.0",
"applicability": {
"is_multi_part_suggestion": false,
"applicability": "Unresolved"
}
},
{
"id": "unused_format_specs",
"id_span": {
Expand Down Expand Up @@ -10259,7 +10274,7 @@
"id": "while_immutable_condition",
"id_span": {
"path": "src/loops/mod.rs",
"line": 412
"line": 413
},
"group": "correctness",
"level": "deny",
Expand All @@ -10274,7 +10289,7 @@
"id": "while_let_loop",
"id_span": {
"path": "src/loops/mod.rs",
"line": 205
"line": 206
},
"group": "complexity",
"level": "warn",
Expand All @@ -10289,7 +10304,7 @@
"id": "while_let_on_iterator",
"id_span": {
"path": "src/loops/mod.rs",
"line": 298
"line": 299
},
"group": "style",
"level": "warn",
Expand Down

0 comments on commit 9a76000

Please sign in to comment.