mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
Fix an out-of-date comment.
This commit is contained in:
parent
e290582abf
commit
c6bbb376a2
@ -395,7 +395,7 @@ where
|
||||
let mut chars = src.chars();
|
||||
|
||||
// The `start` and `end` computation here matches the one in
|
||||
// `unescape_str_or_byte_str` for consistency, even though this function
|
||||
// `unescape_str_common` for consistency, even though this function
|
||||
// doesn't have to worry about skipping any chars.
|
||||
while let Some(c) = chars.next() {
|
||||
let start = src.len() - chars.as_str().len() - c.len_utf8();
|
||||
|
Loading…
Reference in New Issue
Block a user