We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a2f77 commit 6b38948Copy full SHA for 6b38948
src/ast/value.rs
@@ -474,7 +474,7 @@ impl fmt::Display for EscapeQuotedString<'_> {
474
}
475
_ => {
476
// The quote is not escaped.
477
- // Not calling .next(), so the quote at idx will be printed twice:
+ // Including idx in the range, so the quote at idx will be printed twice:
478
// in this call to write_str() and in the next one.
479
f.write_str(&self.string[start_idx..=idx])?;
480
start_idx = idx;
0 commit comments