We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3da87 commit d8f8adfCopy full SHA for d8f8adf
library/std/src/path.rs
@@ -2541,6 +2541,7 @@ impl Path {
2541
/// use std::path::{Path, PathBuf};
2542
///
2543
/// assert_eq!(Path::new("/etc").join("passwd"), PathBuf::from("/etc/passwd"));
2544
+ /// assert_eq!(Path::new("/etc").join("/bin/sh"), PathBuf::from("/bin/sh"));
2545
/// ```
2546
#[stable(feature = "rust1", since = "1.0.0")]
2547
#[must_use]
0 commit comments