Skip to content

Update variable name for source to avoid function name conflict (#1105) #61

Update variable name for source to avoid function name conflict (#1105)

Update variable name for source to avoid function name conflict (#1105) #61

GitHub Actions / clippy failed Dec 12, 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 43 in crates/rpc/src/jsonrpc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'v

error: the following explicit lifetimes could be elided: 'v
  --> crates/rpc/src/jsonrpc.rs:43:6
   |
43 | impl<'v> serde::de::Visitor<'v> for VersionVisitor {
   |      ^^                     ^^
   |
   = 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
   |
43 - impl<'v> serde::de::Visitor<'v> for VersionVisitor {
43 + impl serde::de::Visitor<'_> for VersionVisitor {
   |