diff options
author | Zac Pullar-Strecker <[email protected]> | 2020-08-31 09:38:10 +0100 |
---|---|---|
committer | Zac Pullar-Strecker <[email protected]> | 2020-10-08 03:01:30 +0100 |
commit | 8c32bdea3662f4c65810e2d92569b0cb4e3872d9 (patch) | |
tree | e5f5fec86a7c766eefd3a34501ef944bd2088651 /crates/ide/src/lib.rs | |
parent | a06d736b77770e4c1e738086c81b4fd60fcfcb23 (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.rs | 6 |
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; | |||
45 | mod syntax_highlighting; | 45 | mod syntax_highlighting; |
46 | mod syntax_tree; | 46 | mod syntax_tree; |
47 | mod typing; | 47 | mod typing; |
48 | mod link_rewrite; | ||
49 | mod markdown_remove; | 48 | mod markdown_remove; |
49 | mod doc_links; | ||
50 | 50 | ||
51 | use std::sync::Arc; | 51 | use 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. |