Skip to content

Commit acb9c07

Browse files
committed
Format files
1 parent d435b54 commit acb9c07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/c_string.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ impl<const N: usize> CString<N> {
6767
///
6868
/// ```rust
6969
/// use heapless::CString;
70-
/// let mut c_string =
71-
/// unsafe { CString::<7>::from_bytes_with_nul_unchecked(b"string\0").unwrap() };
70+
/// let mut c_string = unsafe { CString::<7>::from_bytes_with_nul_unchecked(b"string\0").unwrap() };
7271
///
7372
/// assert_eq!(c_string.to_str(), Ok("string"));
7473
/// ```

0 commit comments

Comments
 (0)