diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/docs.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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<String> for Documentation { | |||
22 | } | 22 | } |
23 | } | 23 | } |
24 | 24 | ||
25 | impl<'a> Into<String> for &'a Documentation { | ||
26 | fn into(self) -> String { | ||
27 | self.contents().into() | ||
28 | } | ||
29 | } | ||
30 | |||
31 | pub trait Docs { | 25 | pub trait Docs { |
32 | fn docs(&self, db: &impl HirDatabase) -> Option<Documentation>; | 26 | fn docs(&self, db: &impl HirDatabase) -> Option<Documentation>; |
33 | } | 27 | } |