Skip to main content
is_ident
rustc_
lexer
1.99.0-nightly
(c81c8c15f 2026-09-09) (Ferrocene nightly by Ferrous Systems)
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.