is_ident
rustc_
lexer
1.94.0-nightly
(31010ca61 2025-12-16)
rustc_lexer
Function
is_
ident
Copy item path
Source
pub fn is_ident(string: &
str
) ->
bool
Expand description
The passed string is lexically an identifier.