is_ident
rustc_
lexer
1.91.0-nightly
(54c581243 2025-08-25)
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.