Format files

This commit is contained in:
Yota Toyama 2025-04-07 17:54:00 -07:00
parent d435b54130
commit acb9c07f8c

View File

@ -67,8 +67,7 @@ impl<const N: usize> CString<N> {
///
/// ```rust
/// use heapless::CString;
/// let mut c_string =
/// unsafe { CString::<7>::from_bytes_with_nul_unchecked(b"string\0").unwrap() };
/// let mut c_string = unsafe { CString::<7>::from_bytes_with_nul_unchecked(b"string\0").unwrap() };
///
/// assert_eq!(c_string.to_str(), Ok("string"));
/// ```