← every case · 2000 · string forms

2130-raw_string_holding_quotes

a Rust raw string, opened with r#" and closed with "#, so the plain quotes written inside it are text and close nothing

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.rs
1codelet a = r#"say "hi" and stay code"#;
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/2000-string_forms/2130-raw_string_holding_quotes/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/2000-string_forms/2130-raw_string_holding_quotes/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/2000-string_forms/2130-raw_string_holding_quotes/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/2000-string_forms/2130-raw_string_holding_quotes/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/2000-string_forms/2130-raw_string_holding_quotes/input.rs