MNW shared crates: de-em-dash lint block, pin stable toolchain, cargo fmt
De-em-dash the shared clippy lint-block comments (no-em-dash brand rule),
pin channel=stable (rustfmt + clippy) at the MNW root, and normalize
formatting with cargo fmt. No logic changes.
- Co-Authored-By
- Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 files changed,
+79 insertions,
-103 deletions
| 35 |
35 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 36 |
36 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 37 |
37 |
|
module_name_repetitions = "allow"
|
| 38 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
38 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 39 |
39 |
|
missing_errors_doc = "allow"
|
| 40 |
40 |
|
missing_panics_doc = "allow"
|
| 41 |
41 |
|
doc_markdown = "allow"
|
| 42 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
42 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 43 |
43 |
|
cast_possible_truncation = "allow"
|
| 44 |
44 |
|
cast_sign_loss = "allow"
|
| 45 |
45 |
|
cast_precision_loss = "allow"
|
| 46 |
46 |
|
cast_possible_wrap = "allow"
|
| 47 |
47 |
|
cast_lossless = "allow"
|
| 48 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
48 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 49 |
49 |
|
must_use_candidate = "allow"
|
| 50 |
50 |
|
too_many_lines = "allow"
|
| 51 |
51 |
|
struct_excessive_bools = "allow"
|
| 52 |
52 |
|
similar_names = "allow"
|
| 53 |
53 |
|
items_after_statements = "allow"
|
| 54 |
54 |
|
single_match_else = "allow"
|
| 55 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
55 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 56 |
56 |
|
match_same_arms = "allow"
|
| 57 |
57 |
|
unnecessary_wraps = "allow"
|
| 58 |
58 |
|
type_complexity = "allow"
|
| 32 |
32 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 33 |
33 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 34 |
34 |
|
module_name_repetitions = "allow"
|
| 35 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
35 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 36 |
36 |
|
missing_errors_doc = "allow"
|
| 37 |
37 |
|
missing_panics_doc = "allow"
|
| 38 |
38 |
|
doc_markdown = "allow"
|
| 39 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
39 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 40 |
40 |
|
cast_possible_truncation = "allow"
|
| 41 |
41 |
|
cast_sign_loss = "allow"
|
| 42 |
42 |
|
cast_precision_loss = "allow"
|
| 43 |
43 |
|
cast_possible_wrap = "allow"
|
| 44 |
44 |
|
cast_lossless = "allow"
|
| 45 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
45 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 46 |
46 |
|
must_use_candidate = "allow"
|
| 47 |
47 |
|
too_many_lines = "allow"
|
| 48 |
48 |
|
struct_excessive_bools = "allow"
|
| 49 |
49 |
|
similar_names = "allow"
|
| 50 |
50 |
|
items_after_statements = "allow"
|
| 51 |
51 |
|
single_match_else = "allow"
|
| 52 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
52 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 53 |
53 |
|
match_same_arms = "allow"
|
| 54 |
54 |
|
unnecessary_wraps = "allow"
|
| 55 |
55 |
|
type_complexity = "allow"
|
| 51 |
51 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 52 |
52 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 53 |
53 |
|
module_name_repetitions = "allow"
|
| 54 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
54 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 55 |
55 |
|
missing_errors_doc = "allow"
|
| 56 |
56 |
|
missing_panics_doc = "allow"
|
| 57 |
57 |
|
doc_markdown = "allow"
|
| 58 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
58 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 59 |
59 |
|
cast_possible_truncation = "allow"
|
| 60 |
60 |
|
cast_sign_loss = "allow"
|
| 61 |
61 |
|
cast_precision_loss = "allow"
|
| 62 |
62 |
|
cast_possible_wrap = "allow"
|
| 63 |
63 |
|
cast_lossless = "allow"
|
| 64 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
64 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 65 |
65 |
|
must_use_candidate = "allow"
|
| 66 |
66 |
|
too_many_lines = "allow"
|
| 67 |
67 |
|
struct_excessive_bools = "allow"
|
| 68 |
68 |
|
similar_names = "allow"
|
| 69 |
69 |
|
items_after_statements = "allow"
|
| 70 |
70 |
|
single_match_else = "allow"
|
| 71 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
71 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 72 |
72 |
|
match_same_arms = "allow"
|
| 73 |
73 |
|
unnecessary_wraps = "allow"
|
| 74 |
74 |
|
type_complexity = "allow"
|
| 22 |
22 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 23 |
23 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 24 |
24 |
|
module_name_repetitions = "allow"
|
| 25 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
25 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 26 |
26 |
|
missing_errors_doc = "allow"
|
| 27 |
27 |
|
missing_panics_doc = "allow"
|
| 28 |
28 |
|
doc_markdown = "allow"
|
| 29 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
29 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 30 |
30 |
|
cast_possible_truncation = "allow"
|
| 31 |
31 |
|
cast_sign_loss = "allow"
|
| 32 |
32 |
|
cast_precision_loss = "allow"
|
| 33 |
33 |
|
cast_possible_wrap = "allow"
|
| 34 |
34 |
|
cast_lossless = "allow"
|
| 35 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
35 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 36 |
36 |
|
must_use_candidate = "allow"
|
| 37 |
37 |
|
too_many_lines = "allow"
|
| 38 |
38 |
|
struct_excessive_bools = "allow"
|
| 39 |
39 |
|
similar_names = "allow"
|
| 40 |
40 |
|
items_after_statements = "allow"
|
| 41 |
41 |
|
single_match_else = "allow"
|
| 42 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
42 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 43 |
43 |
|
match_same_arms = "allow"
|
| 44 |
44 |
|
unnecessary_wraps = "allow"
|
| 45 |
45 |
|
type_complexity = "allow"
|
| 45 |
45 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 46 |
46 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 47 |
47 |
|
module_name_repetitions = "allow"
|
| 48 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
48 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 49 |
49 |
|
missing_errors_doc = "allow"
|
| 50 |
50 |
|
missing_panics_doc = "allow"
|
| 51 |
51 |
|
doc_markdown = "allow"
|
| 52 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
52 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 53 |
53 |
|
cast_possible_truncation = "allow"
|
| 54 |
54 |
|
cast_sign_loss = "allow"
|
| 55 |
55 |
|
cast_precision_loss = "allow"
|
| 56 |
56 |
|
cast_possible_wrap = "allow"
|
| 57 |
57 |
|
cast_lossless = "allow"
|
| 58 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
58 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 59 |
59 |
|
must_use_candidate = "allow"
|
| 60 |
60 |
|
too_many_lines = "allow"
|
| 61 |
61 |
|
struct_excessive_bools = "allow"
|
| 62 |
62 |
|
similar_names = "allow"
|
| 63 |
63 |
|
items_after_statements = "allow"
|
| 64 |
64 |
|
single_match_else = "allow"
|
| 65 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
65 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 66 |
66 |
|
match_same_arms = "allow"
|
| 67 |
67 |
|
unnecessary_wraps = "allow"
|
| 68 |
68 |
|
type_complexity = "allow"
|
| 37 |
37 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 38 |
38 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 39 |
39 |
|
module_name_repetitions = "allow"
|
| 40 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
40 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 41 |
41 |
|
missing_errors_doc = "allow"
|
| 42 |
42 |
|
missing_panics_doc = "allow"
|
| 43 |
43 |
|
doc_markdown = "allow"
|
| 44 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
44 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 45 |
45 |
|
cast_possible_truncation = "allow"
|
| 46 |
46 |
|
cast_sign_loss = "allow"
|
| 47 |
47 |
|
cast_precision_loss = "allow"
|
| 48 |
48 |
|
cast_possible_wrap = "allow"
|
| 49 |
49 |
|
cast_lossless = "allow"
|
| 50 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
50 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 51 |
51 |
|
must_use_candidate = "allow"
|
| 52 |
52 |
|
too_many_lines = "allow"
|
| 53 |
53 |
|
struct_excessive_bools = "allow"
|
| 54 |
54 |
|
similar_names = "allow"
|
| 55 |
55 |
|
items_after_statements = "allow"
|
| 56 |
56 |
|
single_match_else = "allow"
|
| 57 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
57 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 58 |
58 |
|
match_same_arms = "allow"
|
| 59 |
59 |
|
unnecessary_wraps = "allow"
|
| 60 |
60 |
|
type_complexity = "allow"
|
| 29 |
29 |
|
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
|
| 30 |
30 |
|
# else in `pedantic` stays a warning. Keep this block identical across repos.
|
| 31 |
31 |
|
module_name_repetitions = "allow"
|
| 32 |
|
- |
# Doc lints — no docs-completeness push underway.
|
|
32 |
+ |
# Doc lints. No docs-completeness push is underway.
|
| 33 |
33 |
|
missing_errors_doc = "allow"
|
| 34 |
34 |
|
missing_panics_doc = "allow"
|
| 35 |
35 |
|
doc_markdown = "allow"
|
| 36 |
|
- |
# Numeric casts — endemic and mostly intentional in size/byte math.
|
|
36 |
+ |
# Numeric casts. Endemic and mostly intentional in size and byte math.
|
| 37 |
37 |
|
cast_possible_truncation = "allow"
|
| 38 |
38 |
|
cast_sign_loss = "allow"
|
| 39 |
39 |
|
cast_precision_loss = "allow"
|
| 40 |
40 |
|
cast_possible_wrap = "allow"
|
| 41 |
41 |
|
cast_lossless = "allow"
|
| 42 |
|
- |
# Subjective structure/style nags — high churn, low signal.
|
|
42 |
+ |
# Subjective structure and style nags. High churn, low signal.
|
| 43 |
43 |
|
must_use_candidate = "allow"
|
| 44 |
44 |
|
too_many_lines = "allow"
|
| 45 |
45 |
|
struct_excessive_bools = "allow"
|
| 46 |
46 |
|
similar_names = "allow"
|
| 47 |
47 |
|
items_after_statements = "allow"
|
| 48 |
48 |
|
single_match_else = "allow"
|
| 49 |
|
- |
# Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
|
|
49 |
+ |
# Frequent false-positives in TUI and router-heavy code.
|
| 50 |
50 |
|
match_same_arms = "allow"
|
| 51 |
51 |
|
unnecessary_wraps = "allow"
|
| 52 |
52 |
|
type_complexity = "allow"
|