aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/lib.rs
diff options
context:
space:
mode:
authorZac Pullar-Strecker <[email protected]>2020-08-31 09:38:10 +0100
committerZac Pullar-Strecker <[email protected]>2020-10-08 03:01:30 +0100
commit8c32bdea3662f4c65810e2d92569b0cb4e3872d9 (patch)
treee5f5fec86a7c766eefd3a34501ef944bd2088651 /crates/ide/src/lib.rs
parenta06d736b77770e4c1e738086c81b4fd60fcfcb23 (diff)
Rename ide::link_rewrite -> ide::doc_links & tidy imports
Diffstat (limited to 'crates/ide/src/lib.rs')
-rw-r--r--crates/ide/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index 645369597..b92e6d9ea 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -45,8 +45,8 @@ mod status;
45mod syntax_highlighting; 45mod syntax_highlighting;
46mod syntax_tree; 46mod syntax_tree;
47mod typing; 47mod typing;
48mod link_rewrite;
49mod markdown_remove; 48mod markdown_remove;
49mod doc_links;
50 50
51use std::sync::Arc; 51use std::sync::Arc;
52 52
@@ -386,8 +386,8 @@ impl Analysis {
386 pub fn get_doc_url( 386 pub fn get_doc_url(
387 &self, 387 &self,
388 position: FilePosition, 388 position: FilePosition,
389 ) -> Cancelable<Option<link_rewrite::DocumentationLink>> { 389 ) -> Cancelable<Option<doc_links::DocumentationLink>> {
390 self.with_db(|db| link_rewrite::get_doc_url(db, &position)) 390 self.with_db(|db| doc_links::get_doc_url(db, &position))
391 } 391 }
392 392
393 /// Computes parameter information for the given call expression. 393 /// Computes parameter information for the given call expression.