Skip to content

Commit c8463c1

Browse files
author
Marek Suchánek
committed
Properly delete all multi-line comments with --no-comments
1 parent 75093d2 commit c8463c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl Input {
296296
.build()
297297
.unwrap();
298298
template_with_replacements = multi_comments
299-
.replace(&template_with_replacements, "")
299+
.replace_all(&template_with_replacements, "")
300300
.to_string();
301301

302302
// Delete single-line comments

0 commit comments

Comments
 (0)