move prune into rustic_core #1267
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Clippy Output
failed
Jun 23, 2023 in 0s
Clippy Output
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.70.0 (90c541806 2023-05-31)
- cargo 1.70.0 (ec8a8a0ca 2023-04-25)
- clippy 0.1.70 (90c5418 2023-05-31)
Annotations
Check failure on line 645 in crates/rustic_core/src/commands/prune.rs
github-actions / Clippy Output
unneeded `return` statement
error: unneeded `return` statement
--> crates/rustic_core/src/commands/prune.rs:645:29
|
645 | None => return Err(CommandErrorKind::PackNotExisting(pack.id)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
Check failure on line 643 in crates/rustic_core/src/commands/prune.rs
github-actions / Clippy Output
unneeded `return` statement
error: unneeded `return` statement
--> crates/rustic_core/src/commands/prune.rs:641:25
|
641 | / return Err(CommandErrorKind::PackSizeNotMatching(
642 | | pack.id, pack.size, size,
643 | | ))
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: remove `return`
Loading