mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +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>) {
|
||||
(toml::from_str("").expect("we never error on empty config files"), errors)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue