Fix Linux/Windows build on nightly

This commit is contained in:
Yehuda Katz
2019-05-16 23:37:35 -07:00
parent 90f4ba15cf
commit 11677735f1
4 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ fn main() -> Result<(), Box<Error>> {
match process_line(readline, context.clone()) {
LineResult::Success(line) => {
rl.add_history_entry(line.as_ref());
rl.add_history_entry(line.clone());
}
LineResult::Error(err) => {