Skip to content

Commit a7e23f4

Browse files
syvbJoshua Nelson
and
Joshua Nelson
authored
Add starting anchor
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent e8a143a commit a7e23f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ fn map_lib_features(
425425
}
426426

427427
lazy_static::lazy_static! {
428-
static ref COMMENT_LINE: Regex = Regex::new(r"\s*//").unwrap();
428+
static ref COMMENT_LINE: Regex = Regex::new(r"^\s*//").unwrap();
429429
}
430430
// exclude commented out lines
431431
if COMMENT_LINE.is_match(line) {

0 commit comments

Comments
 (0)