Skip to content

Commit e231f7c

Browse files
committed
Reformat the code
1 parent dbd78eb commit e231f7c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/validation.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,11 @@ mod content {
433433

434434
for (index, line) in content.lines().enumerate() {
435435
if let Some(xref) = xref_regex.captures(line) {
436-
if path_based_regex.is_match(xref.get(1).expect("Cannot capture the xref content.").as_str()) {
436+
if path_based_regex.is_match(
437+
xref.get(1)
438+
.expect("Cannot capture the xref content.")
439+
.as_str(),
440+
) {
437441
// This xref is path-based. This is the correct form. Skip.
438442
} else {
439443
// This xref is not path-based. Report.

0 commit comments

Comments
 (0)