Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/input.rs')
| -rw-r--r-- | crates/base-db/src/input.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/base-db/src/input.rs b/crates/base-db/src/input.rs index 564697facf..3d94060823 100644 --- a/crates/base-db/src/input.rs +++ b/crates/base-db/src/input.rs @@ -311,6 +311,7 @@ pub struct CrateData<Id> { pub type CrateDataBuilder = CrateData<CrateBuilderId>; pub type BuiltCrateData = CrateData<Crate>; +/// Crate data unrelated to analysis. #[derive(Debug, Clone, PartialEq, Eq)] pub struct ExtraCrateData { pub version: Option<String>, @@ -601,12 +602,6 @@ impl CrateGraphBuilder { self.arena.iter().map(|(idx, _)| idx) } - // FIXME: used for fixing up the toolchain sysroot, should be removed and done differently - #[doc(hidden)] - pub fn iter_mut(&mut self) -> impl Iterator<Item = (CrateBuilderId, &mut CrateBuilder)> + '_ { - self.arena.iter_mut() - } - /// Returns an iterator over all transitive dependencies of the given crate, /// including the crate itself. pub fn transitive_deps(&self, of: CrateBuilderId) -> impl Iterator<Item = CrateBuilderId> { |