Skip to content

Set balance to the double of stakingBond (#1940) #1040

Set balance to the double of stakingBond (#1940)

Set balance to the double of stakingBond (#1940) #1040

GitHub Actions / clippy succeeded Jan 21, 2025 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.84.0 (9fc6b4312 2025-01-07)
  • cargo 1.84.0 (66221abde 2024-11-19)
  • clippy 0.1.84 (9fc6b43126 2025-01-07)

Annotations

Check warning on line 184 in crates/parser/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

warning: use of a fallible conversion when an infallible one could be used
   --> crates/parser/src/lib.rs:184:10
    |
184 |         .try_into()
    |          ^^^^^^^^ help: use: `into`
    |
    = note: converting `&str` to `PathBuf` cannot fail
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default