]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/methods/chars_cmp_with_unwrap.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / clippy_lints / src / methods / chars_cmp_with_unwrap.rs
index 4275857757fee4552ee56536a9622261a78a86e5..a7c0e43923e139b3cc378b6f54aa19161d396f6e 100644 (file)
@@ -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,
             );