removed newline character

This commit is contained in:
pca006132 2020-06-16 16:05:46 +08:00 committed by Gitea
parent 2c3fa991ad
commit 98f5099684

View File

@ -14,7 +14,7 @@ pub enum CardInitializationError {
impl core::fmt::Display for CardInitializationError { impl core::fmt::Display for CardInitializationError {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
use CardInitializationError::*; use CardInitializationError::*;
write!(f, "Card initialization error: \n ")?; write!(f, "Card initialization error: ")?;
match self { match self {
AlreadyInitialized => write!(f, "Card already initialized."), AlreadyInitialized => write!(f, "Card already initialized."),
NoCardInserted => write!(f, "No card inserted, check if the card is inserted properly."), NoCardInserted => write!(f, "No card inserted, check if the card is inserted properly."),