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 074ccaf commit 4a8eec3Copy full SHA for 4a8eec3
clippy_lints/src/doc/broken_link.rs
@@ -19,7 +19,7 @@ pub fn check(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragm
19
}
20
21
fn warn_if_broken_link(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragments: &[DocFragment]) {
22
- if let Some(span) = source_span_for_markdown_range(cx.tcx, doc, &bl.span, fragments) {
+ if let Some((span, _)) = source_span_for_markdown_range(cx.tcx, doc, &bl.span, fragments) {
23
let mut len = 0;
24
25
// grab raw link data
0 commit comments