mirror of https://github.com/bobwen-dev/hunter
don't add space to history
This commit is contained in:
parent
04285257ca
commit
1a819f2f28
|
@ -57,7 +57,7 @@ impl History {
|
|||
let hpath = crate::paths::history_path()?;
|
||||
|
||||
let history = self.history.iter().map(|(htype, hlines)| {
|
||||
hlines.iter().map(|hline| format!("{}: {}\n", htype, hline))
|
||||
hlines.iter().map(|hline| format!("{}:{}\n", htype, hline))
|
||||
.collect::<String>()
|
||||
}).collect::<String>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue