1
Fork 0

Improve associated constant rendering in rustdoc

This commit is contained in:
Guillaume Gomez 2017-02-19 00:31:09 +01:00
parent 1572bf104d
commit 081336e8eb
3 changed files with 6 additions and 6 deletions

View file

@ -2217,7 +2217,7 @@ fn assoc_const(w: &mut fmt::Formatter,
ty: &clean::Type,
default: Option<&String>,
link: AssocItemLink) -> fmt::Result {
write!(w, "const <a href='{}' class='constant'>{}</a>",
write!(w, "const <a href='{}' class='constant'><b>{}</b></a>",
naive_assoc_href(it, link),
it.name.as_ref().unwrap())?;