Skip to content

Commit aa1b127

Browse files
committed
tier-check: Check for lines with '[' such as those containing links
1 parent 2f1372b commit aa1b127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tier-check/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() {
2424
let doc_targets_md = std::fs::read_to_string(&src).expect("failed to read input source");
2525
let doc_targets: HashSet<_> = doc_targets_md
2626
.lines()
27-
.filter(|line| line.starts_with('`') && line.contains('|'))
27+
.filter(|line| line.starts_with(&['`', '['][..]) && line.contains('|'))
2828
.map(|line| line.split('`').skip(1).next().expect("expected target code span"))
2929
.collect();
3030

0 commit comments

Comments
 (0)