Fix an out-of-date comment.
This commit is contained in:
parent
e290582abf
commit
c6bbb376a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue