rustfmt_nightly::config

Function load_config

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

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