We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75e629 commit c6ae96dCopy full SHA for c6ae96d
src/librustdoc/html/render/mod.rs
@@ -915,6 +915,7 @@ fn render_assoc_item(
915
unsafety = unsafety,
916
defaultness = defaultness,
917
abi = abi,
918
+ // links without a href are valid - https://www.w3schools.com/tags/att_a_href.asp
919
href = href.map(|href| format!("href=\"{}\"", href)).unwrap_or_else(|| "".to_string()),
920
name = name,
921
generics = g.print(cx),
0 commit comments