rustfmt_nightly::formatting::generated

Function is_generated_file

Source
pub(super) fn is_generated_file(original_snippet: &str, config: &Config) -> bool
Expand description

Returns true if the given span is a part of generated files.