is_reserved_word

Function is_reserved_word 

Source
pub fn is_reserved_word<T>(word: &T) -> bool
where T: ?Sized + AsRef<str>,
Expand description

Checks whether a string is a reserved keyword in Rust.