Remove history
This commit is contained in:
@@ -131,7 +131,6 @@ pub fn main() {
|
|||||||
|
|
||||||
// `()` can be used when no completer is required
|
// `()` can be used when no completer is required
|
||||||
let mut rl = Editor::<()>::new();
|
let mut rl = Editor::<()>::new();
|
||||||
let _ = rl.load_history("history.txt");
|
|
||||||
|
|
||||||
println!("Ready!");
|
println!("Ready!");
|
||||||
|
|
||||||
@@ -186,5 +185,5 @@ pub fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rl.save_history("history.txt").unwrap();
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user