mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 18:40:49 +00:00
8 lines
159 B
Rust
8 lines
159 B
Rust
extern crate proc_macro;
|
|
use proc_macro::TokenStream;
|
|
|
|
#[proc_macro]
|
|
pub fn recollect(tokens: TokenStream) -> TokenStream {
|
|
tokens.into_iter().collect()
|
|
}
|