(input: ParseStream)
| 26 | |
| 27 | impl<ID: Parse> Parse for CollectionSlice<ID> { |
| 28 | fn parse(input: ParseStream) -> Result<Self> { |
| 29 | let name: ID = input.parse()?; |
| 30 | input.parse::<Token![,]>()?; |
| 31 | let expr: TokenStream = input.parse()?; |
| 32 | Ok(CollectionSlice { name, expr }) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | pub fn submit_expand<ID: ToTokens>(input: CollectionSlice<ID>) -> TokenStream { |
nothing calls this directly
no outgoing calls
no test coverage detected