Fixed remaining references to AnalysisChange (now: Change)

(The type was renamed/moved in 8716c4cec3)
This commit is contained in:
Vincent Esche 2021-02-28 12:57:41 +01:00
parent 7ed2da652d
commit c4e2f32d73
4 changed files with 8 additions and 8 deletions

View file

@ -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);
}

View file

@ -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()

View file

@ -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,