1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-13 01:28:08 -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()))]
}