1
Fork 0

Don't show associated const items by default

This commit is contained in:
Guillaume Gomez 2018-11-01 23:57:17 +01:00
parent b2f80ddf34
commit ca65b4304e
2 changed files with 1 additions and 2 deletions

View file

@ -556,7 +556,6 @@ impl ItemEnum {
pub fn is_associated(&self) -> bool {
match *self {
ItemEnum::TypedefItem(_, _) |
ItemEnum::AssociatedConstItem(_, _) |
ItemEnum::AssociatedTypeItem(_, _) => true,
_ => false,
}