Skip to main content
is_keyword
cargo
1.100.0-beta.5
(8ea38001b 2026-10-13)
In cargo::
util::
restricted_
names
cargo
::
util
::
restricted_names
Function
is_
keyword
Copy item path
Source
pub fn is_keyword(name: &
str
) ->
bool
Expand description
A Rust keyword.