We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 808be91 + d08134f commit e5e5fcbCopy full SHA for e5e5fcb
compiler/rustc_parse/src/parser/mod.rs
@@ -317,7 +317,7 @@ impl TokenCursor {
317
// required to wrap the text. E.g.
318
// - `abc d` is wrapped as `r"abc d"` (num_of_hashes = 0)
319
// - `abc "d"` is wrapped as `r#"abc "d""#` (num_of_hashes = 1)
320
- // - `abc "##d##"` is wrapped as `r###"abc "d""###` (num_of_hashes = 3)
+ // - `abc "##d##"` is wrapped as `r###"abc ##"d"##"###` (num_of_hashes = 3)
321
let mut num_of_hashes = 0;
322
let mut count = 0;
323
for ch in data.as_str().chars() {
0 commit comments