From 8c32bdea3662f4c65810e2d92569b0cb4e3872d9 Mon Sep 17 00:00:00 2001 From: Zac Pullar-Strecker Date: Mon, 31 Aug 2020 20:38:10 +1200 Subject: Rename ide::link_rewrite -> ide::doc_links & tidy imports --- crates/ide/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide/src/lib.rs') 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; mod syntax_highlighting; mod syntax_tree; mod typing; -mod link_rewrite; mod markdown_remove; +mod doc_links; use std::sync::Arc; @@ -386,8 +386,8 @@ impl Analysis { pub fn get_doc_url( &self, position: FilePosition, - ) -> Cancelable> { - self.with_db(|db| link_rewrite::get_doc_url(db, &position)) + ) -> Cancelable> { + self.with_db(|db| doc_links::get_doc_url(db, &position)) } /// Computes parameter information for the given call expression. -- cgit v1.2.3