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 dbd78eb commit e231f7cCopy full SHA for e231f7c
src/validation.rs
@@ -433,7 +433,11 @@ mod content {
433
434
for (index, line) in content.lines().enumerate() {
435
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()) {
+ if path_based_regex.is_match(
437
+ xref.get(1)
438
+ .expect("Cannot capture the xref content.")
439
+ .as_str(),
440
+ ) {
441
// This xref is path-based. This is the correct form. Skip.
442
} else {
443
// This xref is not path-based. Report.
0 commit comments