Skip to content

Commit

Permalink
Update rust/kernel/str.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Ojeda <[email protected]>
  • Loading branch information
qidu and ojeda authored Oct 19, 2022
1 parent d4aba0d commit 70c0b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/kernel/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ macro_rules! fmt {
/// # Examples
///
/// ```
/// use kernel::str::trim_whitespace;
/// # use kernel::str::trim_whitespace;
/// assert_eq!(trim_whitespace(b"foo "), b"foo");
/// assert_eq!(trim_whitespace(b" foo"), b"foo");
/// assert_eq!(trim_whitespace(b" foo "), b"foo");
Expand Down

0 comments on commit 70c0b32

Please sign in to comment.