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 0e98766 commit 6bb7f0dCopy full SHA for 6bb7f0d
library/std/src/ffi/os_str.rs
@@ -32,7 +32,7 @@ use crate::{cmp, fmt, slice};
32
/// `OsString` and [`OsStr`] bridge this gap by simultaneously representing Rust
33
/// and platform-native string values, and in particular allowing a Rust string
34
/// 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
+/// of this is that `OsString` instances are *not* `NULL` terminated; in order
36
/// to pass to e.g., Unix system call, you should create a [`CStr`].
37
///
38
/// `OsString` is to <code>&[OsStr]</code> as [`String`] is to <code>&[str]</code>: the former
0 commit comments