about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Gruber <gruberbastian@me.com>2018-12-04 10:10:07 +0100
committerBastian Gruber <gruberbastian@me.com>2018-12-04 10:10:07 +0100
commit450a8a6f354ac9b19d5980837ea0f34cd6c7ece6 (patch)
tree161796bb957d663c6dfab62084ed9e3f70aca5a7
parent7933628de58851281544fe2a7b4e0d0673652e47 (diff)
downloadrust-450a8a6f354ac9b19d5980837ea0f34cd6c7ece6.tar.gz
rust-450a8a6f354ac9b19d5980837ea0f34cd6c7ece6.zip
Add extra comment slash
-rw-r--r--src/libstd/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index dcd02ac59b6..9fad40c5649 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -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()
     }