((_, ident, ty): IterArgs)
| 81 | } |
| 82 | } |
| 83 | fn close_f((_, ident, ty): IterArgs) -> TokenStream { |
| 84 | if match_last_ty(ty, "Vec") || match_last_ty(ty, "HashMap") { |
| 85 | quote_spanned! {ident.span()=> |
| 86 | self.#ident.clear(); |
| 87 | } |
| 88 | } else { |
| 89 | quote!() |
| 90 | } |
| 91 | } |
| 92 | fn is_close_f((_, ident, ty): IterArgs) -> TokenStream { |
| 93 | if match_last_ty(ty, "Vec") { |
| 94 | quote_spanned! {ident.span()=> |
nothing calls this directly
no test coverage detected