mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-29 12:31:13 +00:00
add new line after printing strings (#251)
This commit is contained in:
parent
aae7b5a310
commit
4d77bd99c5
|
@ -9,7 +9,7 @@ pub trait Print {
|
|||
|
||||
impl Print for &str {
|
||||
fn print(&self, writter: &mut dyn WriteColor) -> Result<()> {
|
||||
write!(writter, "{}", self).with_context(|| {
|
||||
writeln!(writter, "{}", self).with_context(|| {
|
||||
error!(r#"cannot write string to writter: "{}""#, self);
|
||||
"cannot write string to writter"
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue