← every case · 1000 · comments

1130-closer_in_code_with_nothing_open

Rust ends a raw string with a quote and a hash, and those two characters appear here in ordinary code with no raw string open. They are a plain string holding a hash and nothing more

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.rs
1codelet s = "#";
2comments// a real comment

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

cloc --json cases/1000-comments/1130-closer_in_code_with_nothing_open/input.rs

mezura.content ✓ agrees
the rules ask2 lines · 1 code · 1 comments · 0 extra
it answers2 lines · 1 code · 1 comments · 0 extra

mezura cases/1000-comments/1130-closer_in_code_with_nothing_open/input.rs --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

mezura cases/1000-comments/1130-closer_in_code_with_nothing_open/input.rs --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

scc --format json cases/1000-comments/1130-closer_in_code_with_nothing_open/input.rs

tokei.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

tokei --output json cases/1000-comments/1130-closer_in_code_with_nothing_open/input.rs