partial fix for sending Config packets during Game #2052
GitHub Actions / clippy
succeeded
Dec 25, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.85.0-nightly (409998c4e 2024-12-24)
- cargo 1.85.0-nightly (652623b77 2024-12-20)
- clippy 0.1.85 (409998c4e8 2024-12-24)
Annotations
Check warning on line 108 in azalea-protocol/src/read.rs
github-actions / clippy
call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
warning: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
--> azalea-protocol/src/read.rs:108:5
|
108 | drop(buffer_copy);
| ^^^^^^^^^^^^^^^^^
|
note: argument has type `std::io::Cursor<&[u8]>`
--> azalea-protocol/src/read.rs:108:10
|
108 | drop(buffer_copy);
| ^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drop_non_drop
= note: `#[warn(clippy::drop_non_drop)]` on by default
Loading