about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-25 23:19:47 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-02-25 23:19:47 +0200
commit5eb46d9a01473875dd26f89d2f52ea4b57fa98e5 (patch)
treeceb360f42ff361698c1715360a77954e49f9fa7e /src/libstd
parentf6f050d09003a4c7895f44fed3a7c6cdce8f2949 (diff)
downloadrust-5eb46d9a01473875dd26f89d2f52ea4b57fa98e5.tar.gz
rust-5eb46d9a01473875dd26f89d2f52ea4b57fa98e5.zip
doc: follow the idiom of adding a trailing comma
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 aa6a6d548b3..0bf099714d8 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -442,7 +442,7 @@ impl Error for JoinPathsError {
 ///
 /// match env::home_dir() {
 ///     Some(ref p) => println!("{}", p.display()),
-///     None => println!("Impossible to get your home dir!")
+///     None => println!("Impossible to get your home dir!"),
 /// }
 /// ```
 #[stable(feature = "env", since = "1.0.0")]