Resolve remaining clippy warnings

This commit is contained in:
Ryan 2022-09-07 11:36:12 -07:00
parent 2b3794da7e
commit c955ab8799
2 changed files with 2 additions and 0 deletions

View file

@ -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.

View file

@ -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.