is_ident
rustc_
lexer
1.91.0-nightly
(a1208bf76 2025-09-03)
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.