mirror of
https://github.com/bspeice/qadapt
synced 2024-11-13 01:28:08 -05:00
More edition fixing
This commit is contained in:
parent
de2b6700ae
commit
f4f33dabb7
@ -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()))]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user