Skip to content
Snippets Groups Projects
Commit d8832713 authored by gwenn's avatar gwenn
Browse files

Fix #80

parent b537aee8
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,9 @@ impl History {
}
/// Load the history from the specified file.
///
/// # Failure
/// Will return `Err` if path does not already exist.
pub fn load<P: AsRef<Path> + ?Sized>(&mut self, path: &P) -> Result<()> {
use std::io::{BufRead, BufReader};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment