broken_links: Fix rustdoc API usage
This commit is contained in:
parent
1b5420a8be
commit
f13d785a26
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ pub fn check(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragm
|
|||
}
|
||||
|
||||
fn warn_if_broken_link(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragments: &[DocFragment]) {
|
||||
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) {
|
||||
let mut len = 0;
|
||||
|
||||
// grab raw link data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue