rustc_ast_pretty::pprust

Function token_to_string

Source
pub fn token_to_string(token: &Token) -> Cow<'static, str>
Expand description

Print the token precisely, without converting $crate into its respective crate name.