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.
This commit is contained in:
Manish Goregaokar 2016-07-02 15:46:50 +05:30 committed by GitHub
commit adda4e41be
1 changed files with 0 additions and 1 deletions

View File

@ -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);