Skip to content
GitHub Actions / clippy failed Sep 18, 2023 in 1s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.74.0-nightly (203c57dbe 2023-09-17)
  • cargo 1.74.0-nightly (d5336f813 2023-09-14)
  • clippy 0.1.74 (203c57d 2023-09-17)

Annotations

Check failure on line 145 in src/inflight.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this argument is a mutable reference, but not used mutably

error: this argument is a mutable reference, but not used mutably
   --> src/inflight.rs:145:29
    |
145 |     fn available(&self, cx: &mut Context<'_>) -> bool {
    |                             ^^^^^^^^^^^^^^^^ help: consider changing to: `&Context<'_>`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
note: the lint level is defined here
   --> src/lib.rs:1:27
    |
1   | #![deny(rust_2018_idioms, warnings, unreachable_pub)]
    |                           ^^^^^^^^
    = note: `#[deny(clippy::needless_pass_by_ref_mut)]` implied by `#[deny(warnings)]`