diff --git a/src/history.rs b/src/history.rs index 59f3126262c855244eabcba84cf253b44e05880b..212d2990af0073e8e4b50a59d1df09e7aab4bac9 100644 --- a/src/history.rs +++ b/src/history.rs @@ -96,6 +96,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};