Merge pull request #122 from quartiq/feature/dependency-updates #444
GitHub Actions / clippy
succeeded
Feb 10, 2024 in 1s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check warning on line 169 in src/net/mod.rs
github-actions / clippy
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> src/net/mod.rs:165:61
|
165 | match self.miniconf.handled_update(|path, old, new| {
| _____________________________________________________________^
166 | | settings_path = path.into();
167 | | *old = new.clone();
168 | | Result::<(), &'static str>::Ok(())
169 | | }) {
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default
Loading