Skip to content

Commit 68f8c54

Browse files
Nick Hamannsteveklabnik
authored andcommitted
Address some nits
1 parent 9577561 commit 68f8c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,11 +1241,11 @@ impl Path {
12411241
///
12421242
/// Path::new("foo.txt");
12431243
///
1244-
/// // Strings work too
1244+
/// // Strings work too:
12451245
/// let s = String::from("bar.txt");
12461246
/// let p = Path::new(&s);
12471247
///
1248-
/// // As do other Paths
1248+
/// // As do other `Path`s:
12491249
/// Path::new(&p);
12501250
/// ```
12511251
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)