mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-27 05:56:33 +11:00
Resolve remaining clippy warnings
This commit is contained in:
parent
2b3794da7e
commit
c955ab8799
2 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,7 @@ pub trait Config: Sized + Send + Sync + UnwindSafe + RefUnwindSafe + 'static {
|
|||
}
|
||||
|
||||
/// The result of the [`server_list_ping`](Config::server_list_ping) callback.
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug)]
|
||||
pub enum ServerListPing<'a> {
|
||||
/// Responds to the server list ping with the given information.
|
||||
|
|
|
@ -141,6 +141,7 @@ pub(crate) type S2cPacketChannels = (Sender<C2sPlayPacket>, Receiver<S2cPlayMess
|
|||
pub(crate) type C2sPacketChannels = (Sender<S2cPlayMessage>, Receiver<C2sPlayPacket>);
|
||||
|
||||
/// Messages sent to packet encoders.
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub(crate) enum S2cPlayMessage {
|
||||
/// Queue a play packet for sending.
|
||||
|
|
Loading…
Add table
Reference in a new issue