← every case · 4000 · a quote that opens nothing
a Rust character literal holding a double quote. The quote is the value of the character and opens no string, so the comment lines under it are comments
| 1 | codecodecodecodecode | let quote: char = '"'; |
| 2 | commentscommentscommentscommentscomments | // a real comment |
| 3 | commentscommentscommentscommentscomments | // a second real comment |
stringcommentthe tag around another language
cloc --json cases/4000-a_quote_that_opens_nothing/4010-char_literal_holding_a_quote/input.rs
mezura cases/4000-a_quote_that_opens_nothing/4010-char_literal_holding_a_quote/input.rs --output json --hide timing --counting content
mezura cases/4000-a_quote_that_opens_nothing/4010-char_literal_holding_a_quote/input.rs --output json --hide timing --counting region
the quote opens a string, so both comments under it are counted as code
scc --format json cases/4000-a_quote_that_opens_nothing/4010-char_literal_holding_a_quote/input.rs
the quote opens a string, so both comments under it are counted as code
tokei --output json cases/4000-a_quote_that_opens_nothing/4010-char_literal_holding_a_quote/input.rs