Skip to content

Commit adda4e4

Browse files
authored
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.
2 parents ebae6d4 + 9ad64e4 commit adda4e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libstd/path.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,6 @@ impl PathBuf {
10571057
self._push(path.as_ref())
10581058
}
10591059

1060-
#[allow(deprecated)]
10611060
fn _push(&mut self, path: &Path) {
10621061
// in general, a separator is needed if the rightmost byte is not a separator
10631062
let mut need_sep = self.as_mut_vec().last().map(|c| !is_sep_byte(*c)).unwrap_or(false);

0 commit comments

Comments
 (0)