rust: prelude: prevent doc inline of external imports
authorFinn Behrens <fin@nyantec.com>
Wed, 14 Dec 2022 09:34:51 +0000 (10:34 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 16 Jan 2023 22:49:46 +0000 (23:49 +0100)
commitdec1df547d812a5ced4de29e7eadcfa0484bec1e
tree6cb76223be4497aad941144a8b247c12673ac40a
parent0748424aba89811b85e6e0f958b8ccd47f5af47e
rust: prelude: prevent doc inline of external imports

This shows exactly where the items are from, previously the items from
macros, alloc and core were shown as a declaration from the kernel crate,
this shows the correct path.

Link: https://github.com/rust-lang/rust/issues/106713
Signed-off-by: Finn Behrens <fin@nyantec.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
[Reworded to add Link, fixed two typos and comment style]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/prelude.rs