1
0
mirror of https://github.com/bspeice/qadapt synced 2024-12-22 04:28:09 -05:00

More edition fixing

This commit is contained in:
Bradlee Speice 2018-12-06 22:12:45 -05:00
parent de2b6700ae
commit f4f33dabb7

View File

@ -111,7 +111,7 @@ fn escape_return(ts: TokenStream) -> TokenStream {
let mut tt_iter = ts.into_iter();
while let Some(tt) = tt_iter.next() {
let mut tokens = match tt {
let tokens = match tt {
TokenTree::Group(ref g) if g.delimiter() == Delimiter::Brace && !in_closure => {
vec![group!(Delimiter::Brace, escape_return(g.stream()))]
}