Function enso_macro_utils::path_matching_ident [−][src]
pub fn path_matching_ident(path: &Path, str: impl Str) -> bool
Expand description
Checks if a given Path
consists of a single identifier same as given string.
pub fn path_matching_ident(path: &Path, str: impl Str) -> bool
Checks if a given Path
consists of a single identifier same as given string.