aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libanalysis/src/lib.rs')
-rw-r--r--crates/libanalysis/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs
index a8152939b..4e63813f9 100644
--- a/crates/libanalysis/src/lib.rs
+++ b/crates/libanalysis/src/lib.rs
@@ -209,8 +209,8 @@ impl Analysis {
209 let file = self.file_syntax(file_id); 209 let file = self.file_syntax(file_id);
210 libeditor::scope_completion(&file, offset) 210 libeditor::scope_completion(&file, offset)
211 } 211 }
212 pub fn assists(&self, file_id: FileId, offset: TextUnit) -> Vec<SourceChange> { 212 pub fn assists(&self, file_id: FileId, range: TextRange) -> Vec<SourceChange> {
213 self.imp.assists(file_id, offset) 213 self.imp.assists(file_id, range)
214 } 214 }
215 pub fn diagnostics(&self, file_id: FileId) -> Vec<Diagnostic> { 215 pub fn diagnostics(&self, file_id: FileId) -> Vec<Diagnostic> {
216 self.imp.diagnostics(file_id) 216 self.imp.diagnostics(file_id)