Skip to content

Bump cargo_metadata from 0.18.0 to 0.18.1 (#649)

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Nov 13, 2023 in 1s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.76.0-nightly (2b603f95a 2023-11-12)
  • cargo 1.76.0-nightly (6790a5127 2023-11-10)
  • clippy 0.1.75 (2b603f9 2023-11-12)

Annotations

Check warning on line 98 in lib/core/src/node/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
  --> lib/core/src/node/mod.rs:98:21
   |
98 |         u32::try_from_hex(&client.get_header::<String, _>(Some(best_finalized_hash)).await?.number)
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `client.get_header::<String, _>(Some(best_finalized_hash)).await?.number`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
   = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default

Check warning on line 98 in lib/core/src/node/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
  --> lib/core/src/node/mod.rs:98:21
   |
98 |         u32::try_from_hex(&client.get_header::<String, _>(Some(best_finalized_hash)).await?.number)
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `client.get_header::<String, _>(Some(best_finalized_hash)).await?.number`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
   = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default