Skip to content

Commit fca91f3

Browse files
committed
Remove duplication
1 parent 5434ef1 commit fca91f3

File tree

3 files changed

+303
-371
lines changed

3 files changed

+303
-371
lines changed

Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ cloned_instead_of_copied = "warn"
123123
dbg_macro = "warn"
124124
debug_assert_with_mut_call = "warn"
125125
derive_partial_eq_without_eq = "warn"
126-
disallowed_macros = "warn" # See clippy.toml
127-
disallowed_methods = "warn" # See clippy.toml
128-
disallowed_names = "warn" # See clippy.toml
129-
disallowed_script_idents = "warn" # See clippy.toml
130-
disallowed_types = "warn" # See clippy.toml
126+
disallowed_macros = "warn"
127+
disallowed_methods = "warn"
128+
disallowed_names = "warn"
129+
disallowed_script_idents = "warn"
130+
disallowed_types = "warn"
131131
doc_include_without_cfg = "warn"
132132
doc_link_with_quotes = "warn"
133133
doc_markdown = "warn"
@@ -259,5 +259,6 @@ wildcard_dependencies = "warn"
259259
wildcard_imports = "warn"
260260
zero_sized_map_values = "warn"
261261

262-
manual_range_contains = "allow" # this is better on 'allow'
263-
map_unwrap_or = "allow" # this is better on 'allow'
262+
manual_range_contains = "allow"
263+
map_unwrap_or = "allow"
264+
needless_return = "allow"

0 commit comments

Comments
 (0)