Forgot doc comments
This commit is contained in:
parent
31b2bf4ab9
commit
d2dab198fa
@ -204,6 +204,9 @@ pub fn lookup_conf_file() -> io::Result<Option<path::PathBuf>> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Produces a `Conf` filled with the default values and forwards the errors
|
||||||
|
///
|
||||||
|
/// Used internally for convenience
|
||||||
fn default(errors: Vec<Error>) -> (Conf, Vec<Error>) {
|
fn default(errors: Vec<Error>) -> (Conf, Vec<Error>) {
|
||||||
(toml::from_str("").expect("we never error on empty config files"), errors)
|
(toml::from_str("").expect("we never error on empty config files"), errors)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user