about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-04-02 20:20:52 -0400
committerCorey Farwell <coreyf@rwell.org>2016-04-02 20:20:52 -0400
commitda4d7f59ad5b79baaec10aa85304e3dd2604d687 (patch)
tree63cb82dd2ae41c7a97d57111fbcfb242403dc330 /src/libstd
parent3ec71b033a81f2a7d7c24db265d1e1c2c437339a (diff)
downloadrust-da4d7f59ad5b79baaec10aa85304e3dd2604d687.tar.gz
rust-da4d7f59ad5b79baaec10aa85304e3dd2604d687.zip
Indicate `None` is code-like in doc comment.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index 40f6528f63e..f67f7e098d3 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -181,7 +181,7 @@ fn _var(key: &OsStr) -> Result<String, VarError> {
 }
 
 /// Fetches the environment variable `key` from the current process, returning
-/// None if the variable isn't set.
+/// `None` if the variable isn't set.
 ///
 /// # Examples
 ///