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 29c8276 commit 04fde1cCopy full SHA for 04fde1c
src/librustdoc/clean/mod.rs
@@ -1051,6 +1051,10 @@ impl Clean<Attributes> for [ast::Attribute] {
1051
if UnstableFeatures::from_environment().is_nightly_build() {
1052
let dox = attrs.collapsed_doc_value().unwrap_or_else(String::new);
1053
for link in markdown_links(&dox, cx.render_type) {
1054
+ // bail early for real links
1055
+ if link.contains('/') {
1056
+ continue;
1057
+ }
1058
let (def, fragment) = {
1059
let mut kind = PathKind::Unknown;
1060
let path_str = if let Some(prefix) =
0 commit comments