From 4496e2a06a91e5825f355ce730af802643e8018a Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Fri, 10 Jan 2020 18:40:45 +0100 Subject: Apply review suggestions --- crates/ra_hir_expand/src/name.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/ra_hir_expand/src/name.rs') diff --git a/crates/ra_hir_expand/src/name.rs b/crates/ra_hir_expand/src/name.rs index a4d912b99..b3fa1efba 100644 --- a/crates/ra_hir_expand/src/name.rs +++ b/crates/ra_hir_expand/src/name.rs @@ -37,10 +37,6 @@ impl Name { Name(Repr::TupleField(idx)) } - pub fn for_crate_dependency(dep: &ra_db::Dependency) -> Name { - Name::new_text(dep.name.clone()) - } - /// Shortcut to create inline plain text name const fn new_inline_ascii(text: &[u8]) -> Name { Name::new_text(SmolStr::new_inline_from_ascii(text.len(), text)) -- cgit v1.2.3