diff options
author | Ville Penttinen <[email protected]> | 2019-04-04 16:06:22 +0100 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-04-09 12:45:04 +0100 |
commit | 84fde47d00bb3ccba3876ad2b2e46c5c59cd07c4 (patch) | |
tree | 1c5109cf9abd2a881e38486279e93b01245e9a7a /crates/ra_hir | |
parent | 751b4544426509b6b9a072c54604fa0ca4438e64 (diff) |
Move test specific things
Diffstat (limited to 'crates/ra_hir')
-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 | } |