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.