Function rustfmt_nightly::config::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).