You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: this argument is a mutable reference, but not used mutably
--> src/util/io.rs:14:56
|
14 | pub(crate) async fn read_async<R>(reader: &mut R, buf: &mut [u8]) -> Result<usize>
| ^^^^^^^^^ help: consider changing to: `&[u8]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
= note: `#[warn(clippy::needless_pass_by_ref_mut)]` implied by `#[warn(clippy::all)]`
warning: the borrowed expression implements the required traits
--> src/handler.rs:170:42
|
170 | easy.get_mut().span.record("id", &id);
| ^^^ help: change this to: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
note: the lint level is defined here
--> src/lib.rs:240:5
|
240 | clippy::all
| ^^^^^^^^^^^
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` implied by `#[warn(clippy::all)]`