Skip to content

Commit

Permalink
Configure collapsing if let and if together in Clippy sources
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Feb 28, 2025
1 parent d1b8b05 commit 36e0eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
avoid-breaking-exported-api = false

collapse-let-chains = true
lint-inconsistent-struct-field-initializers = true

[[disallowed-methods]]
Expand Down
1 change: 1 addition & 0 deletions tests/clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# default config for tests, overrides clippy.toml at the project root
collapse-let-chains = false

0 comments on commit 36e0eed

Please sign in to comment.