pub fn mentions(text: &str, ident: &str) -> bool
Whether text names ident as a whole word rather than as a substring, so Commit does not match CommitId.
text
ident
Commit
CommitId