diff options
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 6ce32894a..189dbd9c2 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -224,7 +224,7 @@ impl Analysis { | |||
224 | ra_editor::folding_ranges(&file) | 224 | ra_editor::folding_ranges(&file) |
225 | } | 225 | } |
226 | pub fn symbol_search(&self, query: Query) -> Cancelable<Vec<(FileId, FileSymbol)>> { | 226 | pub fn symbol_search(&self, query: Query) -> Cancelable<Vec<(FileId, FileSymbol)>> { |
227 | Ok(self.imp.world_symbols(query)) | 227 | self.imp.world_symbols(query) |
228 | } | 228 | } |
229 | pub fn approximately_resolve_symbol( | 229 | pub fn approximately_resolve_symbol( |
230 | &self, | 230 | &self, |
@@ -269,7 +269,7 @@ impl Analysis { | |||
269 | file_id: FileId, | 269 | file_id: FileId, |
270 | offset: TextUnit, | 270 | offset: TextUnit, |
271 | ) -> Cancelable<Option<(FnDescriptor, Option<usize>)>> { | 271 | ) -> Cancelable<Option<(FnDescriptor, Option<usize>)>> { |
272 | Ok(self.imp.resolve_callable(file_id, offset)) | 272 | self.imp.resolve_callable(file_id, offset) |
273 | } | 273 | } |
274 | } | 274 | } |
275 | 275 | ||