mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 15:26:29 +00:00
Fix header padding
This commit is contained in:
parent
fd2bf9f6f6
commit
10eb1a3aee
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ impl<'a> ListState<'a> {
|
||||||
// Header
|
// Header
|
||||||
let mut writer = MaxLenWriter::new(stdout, self.term_width as usize);
|
let mut writer = MaxLenWriter::new(stdout, self.term_width as usize);
|
||||||
writer.write_ascii(b" Current State Name")?;
|
writer.write_ascii(b" Current State Name")?;
|
||||||
writer.write_ascii(&self.name_col_padding[2..])?;
|
writer.write_ascii(&self.name_col_padding[4..])?;
|
||||||
writer.write_ascii(b"Path")?;
|
writer.write_ascii(b"Path")?;
|
||||||
next_ln(stdout)?;
|
next_ln(stdout)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue