diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2021-03-23 12:08:50 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2021-03-23 12:08:50 -0300 |
commit | 0a3c097339d3448f8dcab9aa3c0a9b1345e5cebd (patch) | |
tree | 6831816f1ba78c8ba3c313ede338afc177c1834d /src/lib.rs | |
parent | 56a744b412a1ecb3f3875998d959d518287bcc95 (diff) |
Fix bug preventing multiple impl trait in a row
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 061345d..d8e5a15 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -294,6 +294,7 @@ pub fn impl_trait(item: TokenStream) -> TokenStream { trait_span = Some(tt.span()); in_generic = true; in_path = true; + in_impl = false; continue; } }, |