diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-07-02 15:46:50 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-02 15:46:50 +0530 |
| commit | adda4e41beb1d9821fb5efaa90897c81c87b47c8 (patch) | |
| tree | 8b466022ff4c604bf5ce1f22ae2920b494336286 /src/libstd | |
| parent | ebae6d4e7994733eaea8c301ca46526eb51b8160 (diff) | |
| parent | 9ad64e41c5d7319909a36631139030904856b645 (diff) | |
| download | rust-adda4e41beb1d9821fb5efaa90897c81c87b47c8.tar.gz rust-adda4e41beb1d9821fb5efaa90897c81c87b47c8.zip | |
Rollup merge of #34583 - steveklabnik:remove-unneeded-deprecated, r=alexcrichton
remove unneeded allow flag There isn't anything deprecated being used in this function. This built fine for me locally, but just to be sure, should check Travis.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/path.rs | 1 |
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); |
