From 84fde47d00bb3ccba3876ad2b2e46c5c59cd07c4 Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Thu, 4 Apr 2019 18:06:22 +0300 Subject: Move test specific things --- crates/ra_hir/src/docs.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/ra_hir') diff --git a/crates/ra_hir/src/docs.rs b/crates/ra_hir/src/docs.rs index e3a755b46..5db72c08a 100644 --- a/crates/ra_hir/src/docs.rs +++ b/crates/ra_hir/src/docs.rs @@ -22,12 +22,6 @@ impl Into for Documentation { } } -impl<'a> Into for &'a Documentation { - fn into(self) -> String { - self.contents().into() - } -} - pub trait Docs { fn docs(&self, db: &impl HirDatabase) -> Option; } -- cgit v1.2.3