bianbu-linux-6.6/rust/kernel
Miguel Ojeda 474be44555 rust: prelude: split re-exports into groups
Split the prelude re-exports into groups: first the ones coming
from the `core` crate, then `alloc`, then our own crates and
finally the ones from modules from `kernel` itself (i.e. `super`).

We are doing this manually for the moment, but ideally, long-term,
this could be automated via `rustfmt` with options such as
`group_imports` and `imports_granularity` (both currently unstable).

Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-12-01 20:12:02 +01:00
..
allocator.rs rust: add kernel crate 2022-09-28 08:58:24 +02:00
error.rs rust: add kernel crate 2022-09-28 08:58:24 +02:00
lib.rs rust: add kernel crate 2022-09-28 08:58:24 +02:00
prelude.rs rust: prelude: split re-exports into groups 2022-12-01 20:12:02 +01:00
print.rs rust: add kernel crate 2022-09-28 08:58:24 +02:00
str.rs rust: add kernel crate 2022-09-28 08:58:24 +02:00