diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-22 15:06:32 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-22 15:06:32 +0000 |
commit | 595a2f9900d052d0c5cc3529602aec0cbcd52614 (patch) | |
tree | 7af6dd503e1247952e3689b562c5470f4ae28613 /crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap | |
parent | 9e0abfc0c9b9d36c45c9d8567c632c0167b31084 (diff) | |
parent | 7c27e6d2b3133e4c37b176f0e13c15994eb16dfa (diff) |
Merge #593
593: Docs for completion r=matklad a=kjeremy
The first commit adds documentation support to CompletionItems.
The second one I am unsure about. Is that the right way to add docs for functions? If so should I do something similar for other `hir` types and CompletionItems?
Co-authored-by: Jeremy Kolb <[email protected]>
Co-authored-by: Jeremy A. Kolb <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap index 8018ff025..bc8b84272 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662949719+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [48; 82) '{ E:...:V2; }': () | 7 | [48; 82) '{ E:...:V2; }': () |
6 | [52; 70) 'E::V1 ...d: 1 }': E | 8 | [52; 70) 'E::V1 ...d: 1 }': E |
7 | [67; 68) '1': u32 | 9 | [67; 68) '1': u32 |