Expand description
Detects links that are not linkified, e.g., in Markdown such as Go to https://example.com/.
Suggests wrapping the link with angle brackets: Go to <https://example.com/>. to linkify it.
Re-exportsยง
use core::ops::Range;๐use std::sync::LazyLock;๐use regex::Regex;๐use rustc_errors::Applicability;๐use rustc_errors::DiagDecorator;๐use rustc_hir::HirId;๐use rustc_resolve::rustdoc::pulldown_cmark::DefaultBrokenLinkCallback;๐use rustc_resolve::rustdoc::pulldown_cmark::Event;๐use rustc_resolve::rustdoc::pulldown_cmark::Tag;๐use rustc_resolve::rustdoc::pulldown_cmark::TextMergeWithOffset;๐use rustc_resolve::rustdoc::source_span_for_markdown_range;๐use tracing::trace;๐use crate::core::DocContext;๐use crate::html::markdown::main_body_opts;๐use crate::clean::*;๐
Staticsยง
Functionsยง
- find_
raw_ ๐urls - visit_
item ๐