[][src]Function rustfmt_lib::load_config

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

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