1
Fork 0

Get rid of unneeded aliases field

This commit is contained in:
Michael Howell 2021-04-04 13:08:17 -07:00
parent 5f92951d4f
commit 2370e3b439
2 changed files with 6 additions and 6 deletions

View file

@ -120,10 +120,6 @@ crate struct Cache {
// when gathering trait documentation on a type, hold impls here while
// folding and add them to the cache later on if we find the trait.
orphan_trait_impls: Vec<(DefId, FxHashSet<DefId>, Impl)>,
/// Aliases added through `#[doc(alias = "...")]`. Since a few items can have the same alias,
/// we need the alias element to have an array of items.
crate aliases: BTreeMap<String, Vec<usize>>,
}
/// This struct is used to wrap the `cache` and `tcx` in order to run `DocFolder`.