Message ID | 20230718052752.1045248-4-ojeda@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | cf36a495f07059d23d62640a3f7b6b157da1bfa0 |
Headers | show |
Series | KUnit integration for Rust doctests | expand |
diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs index c9dd3bf59e34..c41607b2e4fe 100644 --- a/rust/kernel/str.rs +++ b/rust/kernel/str.rs @@ -213,6 +213,7 @@ impl fmt::Display for CStr { /// /// ``` /// # use kernel::c_str; + /// # use kernel::fmt; /// # use kernel::str::CStr; /// # use kernel::str::CString; /// let penguin = c_str!("