about summary refs log tree commit diff
path: root/src/libstd/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/path.rs')
-rw-r--r--src/libstd/path.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index c103ff7f4b0..462e50a72cc 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1057,7 +1057,6 @@ impl PathBuf {
         self._push(path.as_ref())
     }
 
-    #[allow(deprecated)]
     fn _push(&mut self, path: &Path) {
         // in general, a separator is needed if the rightmost byte is not a separator
         let mut need_sep = self.as_mut_vec().last().map(|c| !is_sep_byte(*c)).unwrap_or(false);