diff options
Diffstat (limited to 'crates/ra_analysis/src/mock_analysis.rs')
-rw-r--r-- | crates/ra_analysis/src/mock_analysis.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/mock_analysis.rs b/crates/ra_analysis/src/mock_analysis.rs index 76100f548..a7134a0e6 100644 --- a/crates/ra_analysis/src/mock_analysis.rs +++ b/crates/ra_analysis/src/mock_analysis.rs | |||
@@ -82,7 +82,7 @@ impl MockAnalysis { | |||
82 | FileId(idx as u32 + 1) | 82 | FileId(idx as u32 + 1) |
83 | } | 83 | } |
84 | pub fn analysis_host(self) -> AnalysisHost { | 84 | pub fn analysis_host(self) -> AnalysisHost { |
85 | let mut host = AnalysisHost::new(); | 85 | let mut host = AnalysisHost::default(); |
86 | let mut file_map = Vec::new(); | 86 | let mut file_map = Vec::new(); |
87 | let mut change = AnalysisChange::new(); | 87 | let mut change = AnalysisChange::new(); |
88 | for (id, (path, contents)) in self.files.into_iter().enumerate() { | 88 | for (id, (path, contents)) in self.files.into_iter().enumerate() { |