mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-04 09:13:30 +02:00
Deal with long strings
This commit is contained in:
+6
-4
@@ -89,10 +89,12 @@ pub fn watch(app_state: &mut AppState) -> Result<WatchExit> {
|
||||
}
|
||||
}
|
||||
|
||||
watch_state.into_writer().write_all(b"
|
||||
We hope you're enjoying learning Rust!
|
||||
If you want to continue working on the exercises at a later point, you can simply run `rustlings` again.
|
||||
")?;
|
||||
watch_state.into_writer().write_all(QUIT_MSG)?;
|
||||
|
||||
Ok(WatchExit::Shutdown)
|
||||
}
|
||||
|
||||
const QUIT_MSG: &[u8] = b"
|
||||
We hope you're enjoying learning Rust!
|
||||
If you want to continue working on the exercises at a later point, you can simply run `rustlings` again.
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user