rustc_ast_pretty::pprust

Function token_kind_to_string

Source
pub fn token_kind_to_string(tok: &TokenKind) -> Cow<'static, str>
Expand description

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