diff --git a/src/libstd/path.rs b/src/libstd/path.rs index 4a4db61c3b96f..65d7b929c74ff 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -965,7 +965,7 @@ impl PathBuf { /// /// * if `path` has a root but no prefix (e.g. `\windows`), it /// replaces everything except for the prefix (if any) of `self`. - /// * if `path` has a prefix but no root, it replaces `self. + /// * if `path` has a prefix but no root, it replaces `self`. #[stable(feature = "rust1", since = "1.0.0")] pub fn push>(&mut self, path: P) { let path = path.as_ref();