Fix chars_next_cmp suggestion not escaped
This commit is contained in:
parent
0ed8ca45f4
commit
5faa7ebb70
4 changed files with 56 additions and 16 deletions
|
|
@ -32,7 +32,7 @@ pub(super) fn check<'tcx>(
|
|||
if info.eq { "" } else { "!" },
|
||||
snippet_with_applicability(cx, args[0][0].span, "..", &mut applicability),
|
||||
suggest,
|
||||
c),
|
||||
c.escape_default()),
|
||||
applicability,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue