mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 15:02:20 +01:00
Fail linter on #[warn(clippy::try_err)]
Some heavily used macros are using ? directly on an Err. Using a return is easier to read and removes hundreds of linter warnings. https://rust-lang.github.io/rust-clippy/master/index.html#try_err
This commit is contained in:
parent
58a4dc0ef4
commit
b4c3a33f29
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -262,4 +262,4 @@ jobs:
|
|||
rustup component add clippy
|
||||
- name: Run default clippy linting
|
||||
run: |
|
||||
cargo clippy -- -Aclippy::erasing_op -Aclippy::never_loop -Aclippy::if_same_then_else
|
||||
cargo clippy -- -Aclippy::erasing_op -Aclippy::never_loop -Aclippy::if_same_then_else -Dclippy::try_err
|
||||
|
|
Loading…
Add table
Reference in a new issue