Skip to content

Commit c212308

Browse files
committed
Fix typo
1 parent acb9c07 commit c212308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c_string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl<const N: usize> CString<N> {
224224
///
225225
/// If `additional` is not nul-terminated, the [`CString`] is left non nul-terminated, which is
226226
/// an invalid state. Caller must ensure that either `additional` has a terminating nul byte
227-
/// or ensure to append a trailing null terminator.
227+
/// or ensure to append a trailing nul terminator.
228228
unsafe fn extend_from_bytes_unchecked(
229229
&mut self,
230230
additional: &[u8],

0 commit comments

Comments
 (0)