We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent febdc3b commit 3b686a3Copy full SHA for 3b686a3
src/libstd/path.rs
@@ -965,7 +965,7 @@ impl PathBuf {
965
///
966
/// * if `path` has a root but no prefix (e.g. `\windows`), it
967
/// replaces everything except for the prefix (if any) of `self`.
968
- /// * if `path` has a prefix but no root, it replaces `self.
+ /// * if `path` has a prefix but no root, it replaces `self`.
969
#[stable(feature = "rust1", since = "1.0.0")]
970
pub fn push<P: AsRef<Path>>(&mut self, path: P) {
971
let path = path.as_ref();
0 commit comments