rustfmt_nightly::reorder

Function group_imports

Source
fn group_imports(uts: Vec<UseTree>) -> Vec<Vec<UseTree>>
Expand description

Divides imports into three groups, corresponding to standard, external and local imports. Sorts each subgroup.