Simplify Display of Whitespace::Newline
This commit is contained in:
parent
31fd8f8127
commit
85ea52030b
@ -214,7 +214,7 @@ impl Display for Whitespace {
|
||||
match self {
|
||||
Whitespace::Space => write!(f, " "),
|
||||
Whitespace::Tab => write!(f, "\t"),
|
||||
Whitespace::Newline => write!(f, "\n"),
|
||||
Whitespace::Newline => writeln!(f),
|
||||
Whitespace::CarriageReturn => write!(f, "\r"),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user