1
Fork 0

Add extra comment slash

This commit is contained in:
Bastian Gruber 2018-12-04 10:10:07 +01:00
parent 7933628de5
commit 450a8a6f35

View file

@ -1410,7 +1410,7 @@ impl From<PathBuf> for Box<Path> {
/// Converts a `PathBuf` into a `Box<Path>` /// Converts a `PathBuf` into a `Box<Path>`
/// ///
/// This conversion currently should not allocate memory, /// 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> { fn from(p: PathBuf) -> Box<Path> {
p.into_boxed_path() p.into_boxed_path()
} }