Skip to content

iir rework

iir rework #1036

GitHub Actions / clippy failed Jan 4, 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.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 354 in src/bin/dual-iir.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/bin/dual-iir.rs:354:59
    |
354 | ...                   if use_hold { &hold } else { ch };
    |                                     ^^^^^ help: change this to: `hold`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
   --> src/bin/dual-iir.rs:28:9
    |
28  | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`