diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99e1722..22ca253 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index 1ec6b93..df4b61e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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'