From c4e2f32d7331777625b1bd57b51c7e961a7fa2c6 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Sun, 28 Feb 2021 12:57:41 +0100 Subject: Fixed remaining references to `AnalysisChange` (now: `Change`) (The type was renamed/moved in 8716c4cec3a05ba891b20b5f28df69d925b913ad) --- crates/base_db/src/change.rs | 2 +- crates/ide_db/src/apply_change.rs | 2 +- crates/ide_db/src/source_change.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/base_db/src/change.rs b/crates/base_db/src/change.rs index 043e03bba..04e294e41 100644 --- a/crates/base_db/src/change.rs +++ b/crates/base_db/src/change.rs @@ -19,7 +19,7 @@ pub struct Change { impl fmt::Debug for Change { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - let mut d = fmt.debug_struct("AnalysisChange"); + let mut d = fmt.debug_struct("Change"); if let Some(roots) = &self.roots { d.field("roots", roots); } diff --git a/crates/ide_db/src/apply_change.rs b/crates/ide_db/src/apply_change.rs index 23974cff8..104ee113f 100644 --- a/crates/ide_db/src/apply_change.rs +++ b/crates/ide_db/src/apply_change.rs @@ -32,7 +32,7 @@ struct RootChange { impl fmt::Debug for RootChange { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - fmt.debug_struct("AnalysisChange") + fmt.debug_struct("RootChange") .field("added", &self.added.len()) .field("removed", &self.removed.len()) .finish() diff --git a/crates/ide_db/src/source_change.rs b/crates/ide_db/src/source_change.rs index f76bac151..b36455d49 100644 --- a/crates/ide_db/src/source_change.rs +++ b/crates/ide_db/src/source_change.rs @@ -1,7 +1,7 @@ //! This modules defines type to represent changes to the source code, that flow //! from the server to the client. //! -//! It can be viewed as a dual for `AnalysisChange`. +//! It can be viewed as a dual for `Change`. use std::{ collections::hash_map::Entry, -- cgit v1.2.3