]> git.bitcoin.ninja Git - rust-lightning/commit
Fail linter on #[warn(clippy::try_err)]
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 2 Aug 2021 15:30:01 +0000 (10:30 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 2 Aug 2021 15:32:02 +0000 (10:32 -0500)
commitb4c3a33f2954514c64cfc151c80e47afff22b9de
treee6f25c23e14f2d3ec983106a3fda406adc453749
parent58a4dc0ef413966a2a48ddc59d842606de51936f
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
.github/workflows/build.yml