← every case · 3000 · escapes and the closing quote
a Rust raw string, r#" to "#, whose last character is a backslash. Nothing escapes inside a raw string, so the closer closes it and the line ends where it looks like it ends
| 1 | codecodecodecodecodecode | let path = r#"C:\ends\in\backslash\"#; |
| 2 | commentscommentscommentscommentscommentscomments | // a real comment |
stringcommentthe tag around another language
cloc --json cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs
--strip-str-comments
cloc --json cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs --strip-str-comments
cloc --json cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs --docstring-as-code
mezura cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs --output json --hide timing --no-default-config --no-local --counting content
mezura cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs --output json --hide timing --no-default-config --no-local --counting region
scc --format json cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs
tokei --output json cases/3000-escapes_and_the_closing_quote/3030-raw_string_ending_in_backslash/input.rs