rustfmt_nightly::formatting

Function should_skip_module

source
fn should_skip_module<T: FormatHandler>(
    config: &Config,
    context: &FormatContext<'_, T>,
    input_is_stdin: bool,
    main_file: &FileName,
    path: &FileName,
    module: &Module<'_>,
) -> bool
Expand description

Determine if a module should be skipped. True if the module should be skipped, false otherwise.