How to split a TokenStream?

Viewed 183

I'm writing an attribute macro and need to implement custom parsing for the attributes passed into the macro.

Given the TokenStream built from the source (1,1), 2, how can I split this into two TokenStreams: (1,1) & 2?

0 Answers
Related