fix not replying to ping packets in config state #2209
Annotations
6 warnings
use `std::ptr::eq` when comparing raw pointers:
azalea-brigadier/src/command_dispatcher.rs#L430
warning: use `std::ptr::eq` when comparing raw pointers
--> azalea-brigadier/src/command_dispatcher.rs:430:31
|
430 | let redirect = if redirect.data_ptr() == self.root.data_ptr() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(redirect.data_ptr(), self.root.data_ptr())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
|
use `std::ptr::eq` when comparing raw pointers:
azalea-brigadier/src/command_dispatcher.rs#L352
warning: use `std::ptr::eq` when comparing raw pointers
--> azalea-brigadier/src/command_dispatcher.rs:352:35
|
352 | let redirect = if redirect.data_ptr() == self.root.data_ptr() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(redirect.data_ptr(), self.root.data_ptr())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
= note: `#[warn(clippy::ptr_eq)]` on by default
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|