Skip to content

Commit f9f5555

Browse files
committed
Remove an unnecessary into.
1 parent d472a4c commit f9f5555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lexer/src/unescape.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ where
352352
_ => ascii_check(c, chars_should_be_ascii).map(Into::into),
353353
};
354354
let end = src.len() - chars.as_str().len();
355-
callback(start..end, res.map(Into::into));
355+
callback(start..end, res);
356356
}
357357
}
358358

0 commit comments

Comments
 (0)