Move ExternalLocation
to clean::types
It was previously defined in `render::search_index` but wasn't used at all there. `clean::types` seems like a better fit since that's where `ExternalCrate` is defined.
This commit is contained in:
parent
e19593f0e5
commit
2b801dcdd3
6 changed files with 19 additions and 19 deletions
|
@ -21,10 +21,12 @@ use rustc_middle::ty::TyCtxt;
|
|||
use rustc_span::def_id::CRATE_DEF_INDEX;
|
||||
use rustc_target::spec::abi::Abi;
|
||||
|
||||
use crate::clean::{self, utils::find_nearest_parent_module, ExternalCrate, ItemId, PrimitiveType};
|
||||
use crate::clean::{
|
||||
self, types::ExternalLocation, utils::find_nearest_parent_module, ExternalCrate, ItemId,
|
||||
PrimitiveType,
|
||||
};
|
||||
use crate::formats::item_type::ItemType;
|
||||
use crate::html::escape::Escape;
|
||||
use crate::html::render::search_index::ExternalLocation;
|
||||
use crate::html::render::Context;
|
||||
|
||||
use super::url_parts_builder::UrlPartsBuilder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue