Skip to main content

group_roots

Function group_roots 

Source
fn group_roots(packages: &[Package]) -> Vec<Group>
Expand description

Group every package’s crate roots by edition. rustfmt walks mod declarations itself, so these roots transitively cover every file that cargo fmt would format.