Address some nits
This commit is contained in:
parent
db2f308a46
commit
e178495a5e
1 changed files with 2 additions and 2 deletions
|
@ -1249,11 +1249,11 @@ impl Path {
|
|||
///
|
||||
/// Path::new("foo.txt");
|
||||
///
|
||||
/// // Strings work too
|
||||
/// // Strings work too:
|
||||
/// let s = String::from("bar.txt");
|
||||
/// let p = Path::new(&s);
|
||||
///
|
||||
/// // As do other Paths
|
||||
/// // As do other `Path`s:
|
||||
/// Path::new(&p);
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue