forked from M-Labs/zynq-rs
removed newline character
This commit is contained in:
parent
2c3fa991ad
commit
98f5099684
@ -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."),
|
||||||
|
Loading…
Reference in New Issue
Block a user