We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb9c07 commit c212308Copy full SHA for c212308
src/c_string.rs
@@ -224,7 +224,7 @@ impl<const N: usize> CString<N> {
224
///
225
/// If `additional` is not nul-terminated, the [`CString`] is left non nul-terminated, which is
226
/// an invalid state. Caller must ensure that either `additional` has a terminating nul byte
227
- /// or ensure to append a trailing null terminator.
+ /// or ensure to append a trailing nul terminator.
228
unsafe fn extend_from_bytes_unchecked(
229
&mut self,
230
additional: &[u8],
0 commit comments