]> git.lizzy.rs Git - rust.git/commitdiff
Add extra comment slash
authorBastian Gruber <gruberbastian@me.com>
Tue, 4 Dec 2018 09:10:07 +0000 (10:10 +0100)
committerBastian Gruber <gruberbastian@me.com>
Tue, 4 Dec 2018 09:10:07 +0000 (10:10 +0100)
src/libstd/path.rs

index dcd02ac59b6c88076314bf80fd794c5c6ee4dd90..9fad40c564944ee378f247d8db26750a532f74fb 100644 (file)
@@ -1410,7 +1410,7 @@ impl From<PathBuf> for Box<Path> {
     /// Converts a `PathBuf` into a `Box<Path>`
     ///
     /// This conversion currently should not allocate memory,
-    // but this behavior is not guaranteed on all platforms or in all future versions.
+    /// but this behavior is not guaranteed on all platforms or in all future versions.
     fn from(p: PathBuf) -> Box<Path> {
         p.into_boxed_path()
     }