Skip to content

fix: implement metadata rebuild. #187

fix: implement metadata rebuild.

fix: implement metadata rebuild. #187

GitHub Actions / clippy failed Nov 29, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 127 in zstor/src/encryption.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'de

error: the following explicit lifetimes could be elided: 'de
   --> zstor/src/encryption.rs:127:6
    |
127 | impl<'de> Visitor<'de> for SymKeyVisitor {
    |      ^^^          ^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `-D clippy::needless-lifetimes` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
    |
127 - impl<'de> Visitor<'de> for SymKeyVisitor {
127 + impl Visitor<'_> for SymKeyVisitor {
    |

Check failure on line 318 in zstor/src/actors/meta.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant field names in struct initialization

error: redundant field names in struct initialization
   --> zstor/src/actors/meta.rs:318:29
    |
318 | ...                   meta: meta,
    |                       ^^^^^^^^^^ help: replace it with: `meta`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
    = note: `-D clippy::redundant-field-names` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`