diff --git a/src/mpsc/sender.rs b/src/mpsc/sender.rs index 1b19c71..c96040b 100644 --- a/src/mpsc/sender.rs +++ b/src/mpsc/sender.rs @@ -6,7 +6,7 @@ use crate::message::Message; #[non_exhaustive] pub enum SenderError { Closed, - Full + Full, } impl From> for SenderError { @@ -19,7 +19,7 @@ impl From> for SenderError { fn from(err: mpsc::error::TrySendError) -> Self { match err { mpsc::error::TrySendError::Full(_) => SenderError::Full, - mpsc::error::TrySendError::Closed(_) => SenderError::Closed + mpsc::error::TrySendError::Closed(_) => SenderError::Closed, } } }