Skip to content

fix(SweepObjects): dedup backend checking #194

fix(SweepObjects): dedup backend checking

fix(SweepObjects): dedup backend checking #194

GitHub Actions / clippy failed Dec 2, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
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 {
    |