aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ide/src/doc_links.rs (renamed from crates/ide/src/link_rewrite.rs)0
-rw-r--r--crates/ide/src/hover.rs2
-rw-r--r--crates/ide/src/lib.rs6
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide/src/link_rewrite.rs b/crates/ide/src/doc_links.rs
index 1e102997f..1e102997f 100644
--- a/crates/ide/src/link_rewrite.rs
+++ b/crates/ide/src/doc_links.rs
diff --git a/crates/ide/src/hover.rs b/crates/ide/src/hover.rs
index 53265488e..a53359d03 100644
--- a/crates/ide/src/hover.rs
+++ b/crates/ide/src/hover.rs
@@ -14,8 +14,8 @@ use test_utils::mark;
14 14
15use crate::{ 15use crate::{
16 display::{macro_label, ShortLabel, ToNav, TryToNav}, 16 display::{macro_label, ShortLabel, ToNav, TryToNav},
17 link_rewrite::{remove_links, rewrite_links},
18 markdown_remove::remove_markdown, 17 markdown_remove::remove_markdown,
18 doc_links::{remove_links, rewrite_links},
19 markup::Markup, 19 markup::Markup,
20 runnables::runnable, 20 runnables::runnable,
21 FileId, FilePosition, NavigationTarget, RangeInfo, Runnable, 21 FileId, FilePosition, NavigationTarget, RangeInfo, Runnable,
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.