Skip to content

Commit 6bb7f0d

Browse files
authored
Update os_str.rs
1 parent 0e98766 commit 6bb7f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use crate::{cmp, fmt, slice};
3232
/// `OsString` and [`OsStr`] bridge this gap by simultaneously representing Rust
3333
/// and platform-native string values, and in particular allowing a Rust string
3434
/// to be converted into an "OS" string with no cost if possible. A consequence
35-
/// of this is that `OsString` instances are *not* `NUL` terminated; in order
35+
/// of this is that `OsString` instances are *not* `NULL` terminated; in order
3636
/// to pass to e.g., Unix system call, you should create a [`CStr`].
3737
///
3838
/// `OsString` is to <code>&[OsStr]</code> as [`String`] is to <code>&[str]</code>: the former

0 commit comments

Comments
 (0)