Skip to content

do not clear staking for paras, iff present #151

do not clear staking for paras, iff present

do not clear staking for paras, iff present #151

GitHub Actions / clippy succeeded Mar 4, 2025 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

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