Skip to content

Commit 83d42fd

Browse files
committed
fixup: Fix double comments
1 parent 9e6992a commit 83d42fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ multiple_crate_versions = { level = "allow", priority = 1 } # Not possible to de
140140
exit = "warn" # Prefer not `process::exit`ing directly
141141
rest_pat_in_fully_bound_structs = "warn" # Prefer not to use `..` in fully bound structs
142142
verbose_file_reads = "warn" # Prefer simpler and more concise `fs::read_to_string`
143-
# # Pedantic
143+
# Pedantic
144144
pedantic = "warn" # Warn about pedantic lints, except...
145145
match_same_arms = { level = "allow", priority = 1 } # It's often clearer to have the same arm twice
146146
missing_errors_doc = { level = "allow", priority = 1 } # Most of our code is internal; let's not clutter the docs until...
147147
missing_panics_doc = { level = "allow", priority = 1 } # ... we care about the public documentation in our shipped crates
148148
module_name_repetitions = { level = "allow", priority = 1 } # It seems we prefer it this way; we'd need to discuss that
149149
must_use_candidate = { level = "allow", priority = 1 } # Overzealous, we'd have to `[must_use]` a lot of things
150150
redundant_closure_for_method_calls = { level = "allow", priority = 1 } # Not always clearer, let's not pepper `allow`s whenever needed
151-
# # Nursery
151+
# Nursery
152152
collection_is_never_read = "warn" # Lint against collections not used after creation
153153
equatable_if_let = "warn" # Prefer regular `==` checks over Yoda `if let $pat = $value`
154154
useless_let_if_seq = "warn" # Use idiomatic direct assignment of `let $val = if $cond { .. } else { .. };`

0 commit comments

Comments
 (0)