Skip to content

Add crate descriptions for fuse layer #89

Add crate descriptions for fuse layer

Add crate descriptions for fuse layer #89

GitHub Actions / clippy succeeded Jul 10, 2023 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.69.0 (84c898d65 2023-04-16)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • clippy 0.1.69 (84c898d6 2023-04-16)

Annotations

Check warning on line 382 in zerostash-files/src/tree.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this let-binding has unit value

warning: this let-binding has unit value
   --> zerostash-files/src/tree.rs:375:13
    |
375 | /             _ = entries.upsert(
376 | |                 name.into(),
377 | |                 move || noderef,
378 | |                 |_, v| {
...   |
381 | |                 },
382 | |             );
    | |_____________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
    = note: `#[warn(clippy::let_unit_value)]` on by default
help: omit the `let` binding
    |
375 ~             entries.upsert(
376 +                 name.into(),
377 +                 move || noderef,
378 +                 |_, v| {
379 +                     noderef = *v;
380 +                     update = true;
381 +                 },
382 ~             );;
    |