We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a143a commit a7e23f4Copy full SHA for a7e23f4
src/tools/tidy/src/features.rs
@@ -425,7 +425,7 @@ fn map_lib_features(
425
}
426
427
lazy_static::lazy_static! {
428
- static ref COMMENT_LINE: Regex = Regex::new(r"\s*//").unwrap();
+ static ref COMMENT_LINE: Regex = Regex::new(r"^\s*//").unwrap();
429
430
// exclude commented out lines
431
if COMMENT_LINE.is_match(line) {
0 commit comments