Skip to content

Commit

Permalink
changed writeln! to write+\r\n
Browse files Browse the repository at this point in the history
  • Loading branch information
km19809 committed Mar 5, 2021
1 parent d181100 commit bb87c1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pusher"
version = "0.3.0"
version = "0.3.1"
authors = ["km19809 <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down
8 changes: 4 additions & 4 deletions src/stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ impl fmt::Display for Stage {
}
write!(f, "\r\n")?;
}
writeln!(
write!(
f,
"Matched goal(s): {}/{}",
"Matched goal(s): {}/{}\r\n",
self.matched_goals, self.total_goals
)
}
Expand All @@ -337,9 +337,9 @@ impl fmt::Display for Stage {
}
write!(f, "\r\n")?;
}
writeln!(
write!(
f,
"\x1b[0mMatched goal(s): {}/{}",
"\x1b[0mMatched goal(s): {}/{}\r\n",
self.matched_goals, self.total_goals
)
}
Expand Down

0 comments on commit bb87c1a

Please sign in to comment.