Function rustfmt_nightly::comment::changed_comment_content
source · Expand description
Returns true
if the two strings of code have the same payload of comments.
The payload of comments is everything in the string except:
- actual code (not comments),
- comment start/end marks,
- whitespace,
- ‘*’ at the beginning of lines in block comments.