Function rustfmt::load_config[−][src]

pub(crate) fn load_config<O>(
    file_path: Option<&Path>,
    options: Option<O>
) -> Result<(Config, Option<PathBuf>), Error> where
    O: CliOptions, 
Expand description

Loads a config by checking the client-supplied options and if appropriate, the file system (including searching the file system for overrides).