mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 16:03:31 +02:00
Print the trimmed final message
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ impl AppState {
|
||||
|
||||
let final_message = self.final_message.trim();
|
||||
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")?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user