cargo fmt
This commit is contained in:
		
							parent
							
								
									6e024a07e6
								
							
						
					
					
						commit
						a30eaac603
					
				| @ -6,7 +6,7 @@ use crate::message::Message; | ||||
| #[non_exhaustive] | ||||
| pub enum SenderError { | ||||
|     Closed, | ||||
|     Full | ||||
|     Full, | ||||
| } | ||||
| 
 | ||||
| impl<T> From<mpsc::error::SendError<T>> for SenderError { | ||||
| @ -19,7 +19,7 @@ impl<T> From<mpsc::error::TrySendError<T>> for SenderError { | ||||
|     fn from(err: mpsc::error::TrySendError<T>) -> Self { | ||||
|         match err { | ||||
|             mpsc::error::TrySendError::Full(_) => SenderError::Full, | ||||
|             mpsc::error::TrySendError::Closed(_) => SenderError::Closed | ||||
|             mpsc::error::TrySendError::Closed(_) => SenderError::Closed, | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user