Skip to content

Commit

Permalink
chore(clippy): allow needless_return
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Sep 30, 2024
1 parent ecebfda commit 3983c73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true
RUST_BACKTRACE: 1
RUSTUP_MAX_RETRIES: 10
RUSTFLAGS: -D warnings
RUSTFLAGS: -D warnings -A clippy::needless_return
RUSTDOCFLAGS: -D warnings

jobs:
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ module_name_repetitions = { level = "allow", priority = 1 }
too_many_lines = { level = "allow", priority = 1 }
type_complexity = { level = "allow", priority = 1 }
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270
needless_return = { level = "allow", priority = 1 }

[workspace.lints.rustdoc]
private_intra_doc_links = 'allow'

0 comments on commit 3983c73

Please sign in to comment.