Skip to main content

code_identifiers

Function code_identifiers 

Source
pub fn code_identifiers(src: &str) -> FxHashSet<String>
Expand description

The identifier tokens in the code of src. Comments and the content of string literals do not count, so a word in a test title or a comment is not an identifier. A token that starts with a digit is a number.