Skip to content

Commit da4d7f5

Browse files
committed
Indicate None is code-like in doc comment.
1 parent 3ec71b0 commit da4d7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libstd/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ fn _var(key: &OsStr) -> Result<String, VarError> {
181181
}
182182

183183
/// Fetches the environment variable `key` from the current process, returning
184-
/// None if the variable isn't set.
184+
/// `None` if the variable isn't set.
185185
///
186186
/// # Examples
187187
///

0 commit comments

Comments
 (0)