aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/lib.rs
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-02-28 03:37:22 +0000
committerEdwin Cheng <[email protected]>2020-02-28 03:37:22 +0000
commit5f30dd6f72e239474ee425e466711c40b78972f2 (patch)
tree085f8894e1211da7328aebd4bf6001fbb6dbaf53 /crates/ra_ide/src/lib.rs
parente0c6e106d9909f34f1b8bbf2b18dee6ece47aa91 (diff)
Remove hover::type_of
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r--crates/ra_ide/src/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs
index d509de14e..f61028f78 100644
--- a/crates/ra_ide/src/lib.rs
+++ b/crates/ra_ide/src/lib.rs
@@ -455,11 +455,6 @@ impl Analysis {
455 self.with_db(|db| diagnostics::diagnostics(db, file_id)) 455 self.with_db(|db| diagnostics::diagnostics(db, file_id))
456 } 456 }
457 457
458 /// Computes the type of the expression at the given position.
459 pub fn type_of(&self, frange: FileRange) -> Cancelable<Option<String>> {
460 self.with_db(|db| hover::type_of(db, frange))
461 }
462
463 /// Returns the edit required to rename reference at the position to the new 458 /// Returns the edit required to rename reference at the position to the new
464 /// name. 459 /// name.
465 pub fn rename( 460 pub fn rename(