1
Fork 0

Split CSS classes for "typedef" vs "associatedtype".

This commit is contained in:
Jacob Hoffman-Andrews 2021-12-10 11:35:26 -08:00
parent c8e0f97ad2
commit 3f517fb1ae
8 changed files with 31 additions and 17 deletions

View file

@ -944,7 +944,7 @@ fn fmt_type<'cx>(
Ok((ref url, _, ref path)) if !f.alternate() => {
write!(
f,
"<a class=\"type\" href=\"{url}#{shortty}.{name}\" \
"<a class=\"associatedtype\" href=\"{url}#{shortty}.{name}\" \
title=\"type {path}::{name}\">{name}</a>",
url = url,
shortty = ItemType::AssocType,