comment about link without a href
This commit is contained in:
@@ -915,6 +915,7 @@ fn render_assoc_item(
|
|||||||
unsafety = unsafety,
|
unsafety = unsafety,
|
||||||
defaultness = defaultness,
|
defaultness = defaultness,
|
||||||
abi = abi,
|
abi = abi,
|
||||||
|
// links without a href are valid - https://www.w3schools.com/tags/att_a_href.asp
|
||||||
href = href.map(|href| format!("href=\"{}\"", href)).unwrap_or_else(|| "".to_string()),
|
href = href.map(|href| format!("href=\"{}\"", href)).unwrap_or_else(|| "".to_string()),
|
||||||
name = name,
|
name = name,
|
||||||
generics = g.print(cx),
|
generics = g.print(cx),
|
||||||
|
|||||||
Reference in New Issue
Block a user