Skip to content

Commit 8c32bde

Browse files
committed
Rename ide::link_rewrite -> ide::doc_links & tidy imports
1 parent a06d736 commit 8c32bde

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
File renamed without changes.

crates/ide/src/hover.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ use test_utils::mark;
1414

1515
use crate::{
1616
display::{macro_label, ShortLabel, ToNav, TryToNav},
17-
link_rewrite::{remove_links, rewrite_links},
1817
markdown_remove::remove_markdown,
18+
doc_links::{remove_links, rewrite_links},
1919
markup::Markup,
2020
runnables::runnable,
2121
FileId, FilePosition, NavigationTarget, RangeInfo, Runnable,

crates/ide/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ mod status;
4545
mod syntax_highlighting;
4646
mod syntax_tree;
4747
mod typing;
48-
mod link_rewrite;
4948
mod markdown_remove;
49+
mod doc_links;
5050

5151
use std::sync::Arc;
5252

@@ -386,8 +386,8 @@ impl Analysis {
386386
pub fn get_doc_url(
387387
&self,
388388
position: FilePosition,
389-
) -> Cancelable<Option<link_rewrite::DocumentationLink>> {
390-
self.with_db(|db| link_rewrite::get_doc_url(db, &position))
389+
) -> Cancelable<Option<doc_links::DocumentationLink>> {
390+
self.with_db(|db| doc_links::get_doc_url(db, &position))
391391
}
392392

393393
/// Computes parameter information for the given call expression.

0 commit comments

Comments
 (0)