From 9ad64e41c5d7319909a36631139030904856b645 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 30 Jun 2016 17:06:52 -0400 Subject: [PATCH] remove unneeded allow flag There isn't anything deprecated being used in this function. --- src/libstd/path.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libstd/path.rs b/src/libstd/path.rs index c103ff7f4b025..462e50a72cc48 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);