Skip to content

Commit

Permalink
Rollup merge of #34583 - steveklabnik:remove-unneeded-deprecated, r=a…
Browse files Browse the repository at this point in the history
…lexcrichton

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.
  • Loading branch information
Manishearth authored Jul 2, 2016
2 parents ebae6d4 + 9ad64e4 commit adda4e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libstd/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit adda4e4

Please sign in to comment.