aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_print.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2022-11-10 16:41:13 +0000
committerMiguel Ojeda <[email protected]>2022-12-01 19:12:02 +0000
commit474be445555ba8f2e776b4b6458c310bc215f76b (patch)
tree26e5aa92f66e718d9fdc10bfcfa30b87440753c9 /samples/rust/rust_print.rs
parentLinux 6.1-rc4 (diff)
downloadkernel-474be445555ba8f2e776b4b6458c310bc215f76b.tar.gz
kernel-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 <[email protected]> Reviewed-by: Wei Liu <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'samples/rust/rust_print.rs')
0 files changed, 0 insertions, 0 deletions