1
Fork 0

Address some nits

This commit is contained in:
Nick Hamann 2015-04-20 21:01:13 -05:00
parent db2f308a46
commit e178495a5e

View file

@ -1249,11 +1249,11 @@ impl Path {
/// ///
/// Path::new("foo.txt"); /// Path::new("foo.txt");
/// ///
/// // Strings work too /// // Strings work too:
/// let s = String::from("bar.txt"); /// let s = String::from("bar.txt");
/// let p = Path::new(&s); /// let p = Path::new(&s);
/// ///
/// // As do other Paths /// // As do other `Path`s:
/// Path::new(&p); /// Path::new(&p);
/// ``` /// ```
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]