expansion: Remove unnecessary override from impl Folder for Marker

This commit is contained in:
Vadim Petrochenkov 2018-06-20 00:09:56 +03:00
parent 9b2a89b7f1
commit 17f20bec22

View File

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