Skip to content

Commit 2215f3b

Browse files
committed
Adjust to libsyntax API change (rust-lang/rust#27234)
1 parent 95d0476 commit 2215f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn interpolate_idents<'a>(cx: &'a mut ExtCtxt,
3333
Some(ref mut s) => { s.hi = span.hi; },
3434
None => { new_span = Some(span.clone()); },
3535
}
36-
new_ident.push_str(ident.name.as_str());
36+
new_ident.push_str(&ident.name.as_str());
3737
},
3838
_ => return None,
3939
}

0 commit comments

Comments
 (0)