Refactor MqttError type #709
GitHub Actions / clippy
succeeded
Sep 18, 2023 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
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 warning on line 145 in src/inflight.rs
github-actions / clippy
this argument is a mutable reference, but not used mutably
warning: 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: `#[warn(clippy::needless_pass_by_ref_mut)]` on by default
Check warning on line 32 in src/v5/mod.rs
github-actions / clippy
unnecessary `pub(self)`
warning: unnecessary `pub(self)`
--> src/v5/mod.rs:32:1
|
32 | pub(self) const RECEIVE_MAX_DEFAULT: NonZeroU16 = unsafe { NonZeroU16::new_unchecked(65_535) };
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: `#[warn(clippy::needless_pub_self)]` on by default
Loading