Skip to content

Commit 5eb46d9

Browse files
committed
doc: follow the idiom of adding a trailing comma
1 parent f6f050d commit 5eb46d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ impl Error for JoinPathsError {
442442
///
443443
/// match env::home_dir() {
444444
/// Some(ref p) => println!("{}", p.display()),
445-
/// None => println!("Impossible to get your home dir!")
445+
/// None => println!("Impossible to get your home dir!"),
446446
/// }
447447
/// ```
448448
#[stable(feature = "env", since = "1.0.0")]

0 commit comments

Comments
 (0)