fn normalize_for_comparison(s: &str) -> StringExpand description
Normalize text for comparison: lowercase, collapse whitespace, strip trailing punctuation.
Used by doc_conflict_warnings to compare explicit @title/@description values
with implicit values derived from the doc comment structure. Normalization ensures
minor formatting differences (extra spaces, trailing periods) don’t trigger false warnings.