diff options
Diffstat (limited to 'crates/hir_def/src')
-rw-r--r-- | crates/hir_def/src/attr.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs index 228d706db..ff8fb7483 100644 --- a/crates/hir_def/src/attr.rs +++ b/crates/hir_def/src/attr.rs | |||
@@ -32,9 +32,9 @@ impl Documentation { | |||
32 | } | 32 | } |
33 | } | 33 | } |
34 | 34 | ||
35 | impl Into<String> for Documentation { | 35 | impl From<Documentation> for String { |
36 | fn into(self) -> String { | 36 | fn from(Documentation(string): Documentation) -> Self { |
37 | self.0 | 37 | string |
38 | } | 38 | } |
39 | } | 39 | } |
40 | 40 | ||