Skip to main content
is_ident
rustc_
lexer
1.97.0-nightly
(c935696dd 2026-04-29)
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.