Skip to main content
is_keyword
cargo
1.95.0-beta.5
(66bcd258f 2026-03-25)
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.