1
Fork 0

rustdoc: Add PrimitiveType to ItemId::Primitive

This commit is contained in:
Justus K 2021-07-03 17:21:39 +02:00
parent 4b1027a317
commit 21424d2966
No known key found for this signature in database
GPG key ID: 8C62FE98A62FC462
4 changed files with 9 additions and 8 deletions

View file

@ -122,7 +122,7 @@ crate struct Cache {
/// All intra-doc links resolved so far.
///
/// Links are indexed by the DefId of the item they document.
crate intra_doc_links: BTreeMap<ItemId, Vec<clean::ItemLink>>,
crate intra_doc_links: FxHashMap<ItemId, Vec<clean::ItemLink>>,
}
/// This struct is used to wrap the `cache` and `tcx` in order to run `DocFolder`.