mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Fixed remaining references to AnalysisChange
(now: Change
)
(The type was renamed/moved in 8716c4cec3
)
This commit is contained in:
parent
7ed2da652d
commit
c4e2f32d73
4 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue