Skip to content

Commit f096e91

Browse files
authoredJan 26, 2024
Rollup merge of #120329 - nnethercote:3349-precursors, r=fee1-dead
RFC 3349 precursors Some cleanups I found while working on RFC 3349 that are worth landing separately. r? `@fee1-dead`
2 parents a65fe78 + 9cbc582 commit f096e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎clippy_dev/src/update_lints.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ fn remove_line_splices(s: &str) -> String {
928928
.and_then(|s| s.strip_suffix('"'))
929929
.unwrap_or_else(|| panic!("expected quoted string, found `{s}`"));
930930
let mut res = String::with_capacity(s.len());
931-
unescape::unescape_literal(s, unescape::Mode::Str, &mut |range, ch| {
931+
unescape::unescape_unicode(s, unescape::Mode::Str, &mut |range, ch| {
932932
if ch.is_ok() {
933933
res.push_str(&s[range]);
934934
}

0 commit comments

Comments
 (0)