Merge pull request #155 from spacemeshos/fix-watch-pid-termination #572
GitHub Actions / clippy
succeeded
Nov 24, 2023 in 1s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0-nightly (36fb58e43 2023-06-26)
- cargo 1.72.0-nightly (03bc66b55 2023-06-23)
- clippy 0.1.72 (36fb58e 2023-06-26)
Annotations
Check warning on line 240 in service/src/main.rs
github-actions / clippy
unneeded `return` statement
warning: unneeded `return` statement
--> service/src/main.rs:240:13
|
240 | return err.unwrap();
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
Check warning on line 236 in service/src/main.rs
github-actions / clippy
unneeded `return` statement
warning: unneeded `return` statement
--> service/src/main.rs:236:13
|
236 | return Ok(())
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
236 | Ok(())
|
Loading