Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
expansion: Remove unnecessary override from impl Folder for Marker
  • Loading branch information
petrochenkov committed Jun 23, 2018
commit 17f20bec227244a0b47c8c0c24e09452a061e09a
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