Skip to main content
is_keyword
cargo
1.96.0-nightly
(a25435bcf 2026-03-29)
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.