We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db2f308 commit e178495Copy full SHA for e178495
src/libstd/path.rs
@@ -1249,11 +1249,11 @@ impl Path {
1249
///
1250
/// Path::new("foo.txt");
1251
1252
- /// // Strings work too
+ /// // Strings work too:
1253
/// let s = String::from("bar.txt");
1254
/// let p = Path::new(&s);
1255
1256
- /// // As do other Paths
+ /// // As do other `Path`s:
1257
/// Path::new(&p);
1258
/// ```
1259
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments