From 47afa4a5fc18eb84c4838848f02eca655b0256d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 24 May 2021 16:31:54 +0300 Subject: Bump misc deps --- crates/ide/src/doc_links.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide') diff --git a/crates/ide/src/doc_links.rs b/crates/ide/src/doc_links.rs index 320694a17..ec3828ab2 100644 --- a/crates/ide/src/doc_links.rs +++ b/crates/ide/src/doc_links.rs @@ -286,7 +286,7 @@ fn get_doc_link(db: &RootDatabase, definition: Definition) -> Option { .and_then( |url| if let Some(fragment) = fragment { url.join(&fragment).ok() } else { Some(url) }, ) - .map(|url| url.into_string()) + .map(|url| url.into()) } fn rewrite_intra_doc_link( @@ -325,7 +325,7 @@ fn rewrite_intra_doc_link( }; } - Some((new_url.into_string(), strip_prefixes_suffixes(title).to_string())) + Some((new_url.into(), strip_prefixes_suffixes(title).to_string())) } /// Try to resolve path to local documentation via path-based links (i.e. `../gateway/struct.Shard.html`). @@ -345,7 +345,7 @@ fn rewrite_url_link(db: &RootDatabase, def: ModuleDef, target: &str) -> Option