1 2 3 4 5
use proc_macro2::TokenStream; pub fn join<const D: usize>(streams: [TokenStream; D]) -> TokenStream { streams.into_iter().collect() }