Skip to content

Commit e178495

Browse files
author
Nick Hamann
committed
Address some nits
1 parent db2f308 commit e178495

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
@@ -1249,11 +1249,11 @@ impl Path {
12491249
///
12501250
/// Path::new("foo.txt");
12511251
///
1252-
/// // Strings work too
1252+
/// // Strings work too:
12531253
/// let s = String::from("bar.txt");
12541254
/// let p = Path::new(&s);
12551255
///
1256-
/// // As do other Paths
1256+
/// // As do other `Path`s:
12571257
/// Path::new(&p);
12581258
/// ```
12591259
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)