mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 15:26:29 +00:00
Print the trimmed final message
This commit is contained in:
parent
dc02c38a94
commit
c613b70363
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ impl AppState {
|
||||||
|
|
||||||
let final_message = self.final_message.trim();
|
let final_message = self.final_message.trim();
|
||||||
if !final_message.is_empty() {
|
if !final_message.is_empty() {
|
||||||
writer.write_all(self.final_message.as_bytes())?;
|
writer.write_all(final_message.as_bytes())?;
|
||||||
writer.write_all(b"\n")?;
|
writer.write_all(b"\n")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue