Skip to content

Commit adc46e5

Browse files
committed
Remove an unnecessary into.
1 parent 9741dba commit adc46e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lexer/src/unescape.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ where
353353
_ => ascii_check(c, chars_should_be_ascii).map(Into::into),
354354
};
355355
let end = src.len() - chars.as_str().len();
356-
callback(start..end, res.map(Into::into));
356+
callback(start..end, res);
357357
}
358358
}
359359

0 commit comments

Comments
 (0)