pub(super) fn use_tree_cmp(a: &UseTree, b: &UseTree) -> OrderingExpand description
Orders use trees following rustfmt’s version sorting algorithm for ordering imports.
Example: foo::{self, Baz, FOO_BAZ, Qux, baz, foo, *, {Bar}}
Ref:
pub(super) fn use_tree_cmp(a: &UseTree, b: &UseTree) -> OrderingOrders use trees following rustfmt’s version sorting algorithm for ordering imports.
Example: foo::{self, Baz, FOO_BAZ, Qux, baz, foo, *, {Bar}}
Ref: