Skip to content

Commit

Permalink
expansion: Remove unnecessary override from impl Folder for Marker
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Jun 23, 2018
1 parent 9b2a89b commit 17f20be
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/libsyntax/ext/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1569,11 +1569,6 @@ impl<'feat> ExpansionConfig<'feat> {
pub struct Marker(pub Mark);

impl Folder for Marker {
fn fold_ident(&mut self, mut ident: Ident) -> Ident {
ident.span = ident.span.apply_mark(self.0);
ident
}

fn new_span(&mut self, span: Span) -> Span {
span.apply_mark(self.0)
}
Expand Down

0 comments on commit 17f20be

Please sign in to comment.