mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Make it more clear that only one char is expected
This commit is contained in:
parent
0ae66d1860
commit
96a44f3dcf
|
@ -96,18 +96,18 @@ impl<'a> WatchState<'a> {
|
|||
self.writer.write_all(b"\n")?;
|
||||
|
||||
if self.manual_run {
|
||||
write!(self.writer, "{}un/", 'r'.bold())?;
|
||||
write!(self.writer, "{}:run / ", 'r'.bold())?;
|
||||
}
|
||||
|
||||
if self.done_status != DoneStatus::Pending {
|
||||
write!(self.writer, "{}ext/", 'n'.bold())?;
|
||||
write!(self.writer, "{}:next / ", 'n'.bold())?;
|
||||
}
|
||||
|
||||
if !self.show_hint {
|
||||
write!(self.writer, "{}int/", 'h'.bold())?;
|
||||
write!(self.writer, "{}:hint / ", 'h'.bold())?;
|
||||
}
|
||||
|
||||
write!(self.writer, "{}ist/{}uit? ", 'l'.bold(), 'q'.bold())?;
|
||||
write!(self.writer, "{}:list / {}:quit ? ", 'l'.bold(), 'q'.bold())?;
|
||||
|
||||
self.writer.flush()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue