mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Forgot doc comments
This commit is contained in:
parent
31b2bf4ab9
commit
d2dab198fa
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue