← every case · 4000 · a quote that opens nothing

4050-lifetime_and_apostrophe_in_string

two lone apostrophes on one Rust line: the one that marks a lifetime, and the one in the word don't inside a string. Neither opens anything, and a counter pairing them would swallow the line

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.rs
1codelet msg: &'static str = "don't panic";
2comments// a real comment
3comments// a second real comment

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

cloc --json cases/4000-a_quote_that_opens_nothing/4050-lifetime_and_apostrophe_in_string/input.rs

mezura.content ✓ agrees
the rules ask3 lines · 1 code · 2 comments · 0 extra
it answers3 lines · 1 code · 2 comments · 0 extra

mezura cases/4000-a_quote_that_opens_nothing/4050-lifetime_and_apostrophe_in_string/input.rs --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

mezura cases/4000-a_quote_that_opens_nothing/4050-lifetime_and_apostrophe_in_string/input.rs --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

scc --format json cases/4000-a_quote_that_opens_nothing/4050-lifetime_and_apostrophe_in_string/input.rs

tokei.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

tokei --output json cases/4000-a_quote_that_opens_nothing/4050-lifetime_and_apostrophe_in_string/input.rs