Skip to content

Commit c6bbb37

Browse files
committed
Fix an out-of-date comment.
1 parent e290582 commit c6bbb37

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
@@ -395,7 +395,7 @@ where
395395
let mut chars = src.chars();
396396

397397
// The `start` and `end` computation here matches the one in
398-
// `unescape_str_or_byte_str` for consistency, even though this function
398+
// `unescape_str_common` for consistency, even though this function
399399
// doesn't have to worry about skipping any chars.
400400
while let Some(c) = chars.next() {
401401
let start = src.len() - chars.as_str().len() - c.len_utf8();

0 commit comments

Comments
 (0)