diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2022-11-10 17:41:13 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2022-12-01 20:12:02 +0100 |
commit | 474be445555ba8f2e776b4b6458c310bc215f76b (patch) | |
tree | 26e5aa92f66e718d9fdc10bfcfa30b87440753c9 /samples/Makefile | |
parent | Linux 6.1-rc4 (diff) | |
download | linux-474be445555ba8f2e776b4b6458c310bc215f76b.tar.xz linux-474be445555ba8f2e776b4b6458c310bc215f76b.zip |
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>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions