Skip to content

Commit ee9e620

Browse files
committed
disable the verbose mode for DEPRECATED_LINE_PATTERN
there are no insignificant whitespaces or comments, it's a single line
1 parent 1147f18 commit ee9e620

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/tools/jsondocck/src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,8 @@ static LINE_PATTERN: LazyLock<Regex> = LazyLock::new(|| {
6060

6161
static DEPRECATED_LINE_PATTERN: LazyLock<Regex> = LazyLock::new(|| {
6262
RegexBuilder::new(
63-
r#"
64-
//\s+@
65-
"#,
63+
r#"//\s+@"#,
6664
)
67-
.ignore_whitespace(true)
6865
.build()
6966
.unwrap()
7067
});

0 commit comments

Comments
 (0)