aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_impl/function.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-22 15:06:32 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-22 15:06:32 +0000
commit595a2f9900d052d0c5cc3529602aec0cbcd52614 (patch)
tree7af6dd503e1247952e3689b562c5470f4ae28613 /crates/ra_hir/src/code_model_impl/function.rs
parent9e0abfc0c9b9d36c45c9d8567c632c0167b31084 (diff)
parent7c27e6d2b3133e4c37b176f0e13c15994eb16dfa (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/code_model_impl/function.rs')
-rw-r--r--crates/ra_hir/src/code_model_impl/function.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/code_model_impl/function.rs b/crates/ra_hir/src/code_model_impl/function.rs
index 66d7e1713..c68c6bfbf 100644
--- a/crates/ra_hir/src/code_model_impl/function.rs
+++ b/crates/ra_hir/src/code_model_impl/function.rs
@@ -72,6 +72,7 @@ impl FnSignature {
72 } else { 72 } else {
73 TypeRef::unit() 73 TypeRef::unit()
74 }; 74 };
75
75 let sig = FnSignature { 76 let sig = FnSignature {
76 name, 77 name,
77 params, 78 params,