Skip to content

Merge pull request #54 from bassmanitram/feature/ordered-float #226

Merge pull request #54 from bassmanitram/feature/ordered-float

Merge pull request #54 from bassmanitram/feature/ordered-float #226

GitHub Actions / clippy failed Oct 22, 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.64.0 (a55dd71d5 2022-09-19)
  • cargo 1.64.0 (387270bc7 2022-09-16)
  • clippy 0.1.64 (a55dd71 2022-09-19)

Annotations

Check failure on line 230 in src/node.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `f64`

error: useless conversion to the same type: `f64`
   --> src/node.rs:230:34
    |
230 |             Self::F64(i) => Some((*i).into()),
    |                                  ^^^^^^^^^^^ help: consider removing `.into()`: `(*i)`
    |
note: the lint level is defined here
   --> src/lib.rs:6:5
    |
6   |     clippy::all,
    |     ^^^^^^^^^^^
    = note: `#[deny(clippy::useless_conversion)]` implied by `#[deny(clippy::all)]`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion