Skip to content

Commit

Permalink
Merge pull request #416 from newAM/clippy-doc-comments-string
Browse files Browse the repository at this point in the history
Fix clippy lint in doctest
  • Loading branch information
Dirbaio authored Nov 17, 2023
2 parents 11bda49 + 09b4e9e commit 4a811ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl<const N: usize> String<N> {
/// let b = s.into_bytes();
/// assert!(b.len() == 2);
///
/// assert_eq!(&['a' as u8, 'b' as u8], &b[..]);
/// assert_eq!(&[b'a', b'b'], &b[..]);
/// # Ok::<(), ()>(())
/// ```
#[inline]
Expand Down

0 comments on commit 4a811ae

Please sign in to comment.