diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/parse.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -78,7 +78,7 @@ //! a different thread. // Proc-macro2 types in rustdoc of other crates get linked to here. -#![doc(html_root_url = "https://docs.rs/proc-macro2/1.0.27")] +#![doc(html_root_url = "https://docs.rs/proc-macro2/1.0.28")] #![cfg_attr(any(proc_macro_span, super_unstable), feature(proc_macro_span))] #![cfg_attr(super_unstable, feature(proc_macro_raw_ident, proc_macro_def_site))] #![cfg_attr(doc_cfg, feature(doc_cfg))] diff --git a/src/parse.rs b/src/parse.rs index 13a05a8..eddb490 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -461,7 +461,7 @@ fn cooked_byte_string(mut input: Cursor) -> Result<Cursor, Reject> { fn raw_string(input: Cursor) -> Result<Cursor, Reject> { let mut chars = input.char_indices(); let mut n = 0; - while let Some((i, ch)) = chars.next() { + for (i, ch) in &mut chars { match ch { '"' => { n = i; |