Skip to content

Commit a54ceaa

Browse files
committed
Fix typo: change 'NUL' to 'nul' in documentation
1 parent 6fb4f95 commit a54ceaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ impl CString {
323323
///
324324
/// # Safety
325325
///
326-
/// The caller must ensure `v` contains no NUL bytes in its contents.
326+
/// The caller must ensure `v` contains no nul bytes in its contents.
327327
///
328328
/// # Examples
329329
///

0 commit comments

Comments
 (0)