Skip to main content

underscore

Function underscore 

Source
pub fn underscore() -> TokenTree
Expand description

Creates an underscore token for type inference placeholders. This is needed because Ident::new(“_”) panics in proc_macro v1.