Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 12 Apr 2024 08:48:53 +0000 | From | Benno Lossin <> | Subject | Re: [PATCH] rust: remove unneeded `kernel::prelude` imports from doctests |
| |
On 12.04.24 00:53, Nell Shamrell-Harrington wrote: > Rust doctests implicitly include `kernel::prelude::*`. > > Removes explicit `kernel::prelude` imports from doctests. > > Suggested-by: Miguel Ojeda <ojeda@kernel.org> > Link: https://github.com/Rust-for-Linux/linux/issues/1064 > Signed-off-by: Nell Shamrell-Harrington <nells@linux.microsoft.com> > --- > rust/kernel/init.rs | 6 +++--- > rust/kernel/net/phy.rs | 1 - > rust/kernel/workqueue.rs | 3 --- > 3 files changed, 3 insertions(+), 7 deletions(-)
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
-- Cheers, Benno
| ![\](/images/icornerr.gif) |