2020-12-15 19:19:54 -06:00
|
|
|
// rustfmt-imports_granularity: Module
|
|
|
|
|
|
|
|
use a::b::c;
|
|
|
|
use a::d::e;
|
|
|
|
use a::f;
|
|
|
|
use a::g::{h, i};
|
|
|
|
use a::j::k::{self, l};
|
|
|
|
use a::j::{self, m};
|
|
|
|
use a::n::o::p;
|
|
|
|
use a::n::q;
|
|
|
|
pub use a::r::s;
|
|
|
|
pub use a::t;
|
2022-03-04 12:13:08 -06:00
|
|
|
use b::c::d;
|
|
|
|
use b::{self};
|
2020-12-15 19:19:54 -06:00
|
|
|
|
|
|
|
use foo::e;
|
|
|
|
#[cfg(test)]
|
|
|
|
use foo::{a::b, c::d};
|
|
|
|
|
2022-04-30 00:12:06 -05:00
|
|
|
use bar::{
|
|
|
|
// comment
|
|
|
|
a::b,
|
|
|
|
// more comment
|
|
|
|
c::d,
|
|
|
|
e::f,
|
|
|
|
};
|
|
|
|
|
|
|
|
use b::q::{self /* After b::q::self */};
|
|
|
|
use b::r; // After b::r
|
|
|
|
use b::s::{
|
|
|
|
a,
|
|
|
|
b, // After b::s::b
|
|
|
|
};
|
|
|
|
use b::t::{/* Before b::t::self */ self};
|
|
|
|
use b::t::{
|
|
|
|
// Before b::t::a
|
|
|
|
a,
|
|
|
|
b,
|
|
|
|
};
|
|
|
|
use b::u::{a, b};
|
|
|
|
use b::v::{
|
|
|
|
// Before b::v::a
|
|
|
|
a,
|
|
|
|
// Before b::v::b
|
|
|
|
b,
|
|
|
|
};
|
|
|
|
use b::{c, d, e};
|
|
|
|
use b::{
|
|
|
|
f::g,
|
|
|
|
h::{i, j}, /* After b::h group */
|
|
|
|
};
|
|
|
|
use b::{
|
|
|
|
/* Before b::l group */ l::{self, m, n::o, p::*},
|
|
|
|
q,
|
|
|
|
};
|