read_from_toml_or_else_vcs

Function read_from_toml_or_else_vcs 

Source
pub fn read_from_toml_or_else_vcs(config: &str, vcs: &dyn Vcs) -> Result<Lints>
Expand description

§Errors

If we fail to parse the toml

§Panics

Will panic if the lint prefix isn’t delimited by dots. This should never happen as it’s a constant