From a30eaac60386f5a77ce5390fef688fa8035e0727 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Mon, 4 Jan 2021 13:04:36 -0700 Subject: [PATCH] cargo fmt --- src/mpsc/sender.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, } } }