diff options
author | Arnaud <[email protected]> | 2021-01-04 17:58:42 +0000 |
---|---|---|
committer | Arnaud <[email protected]> | 2021-01-04 18:14:44 +0000 |
commit | a6dc7cf36de40f6b2a5b1dfee86430848f94ce42 (patch) | |
tree | ca9c21a110a7723761ad4807000beb96dc122766 /.vscode/extensions.json | |
parent | 0708bfeb7270923be5a2059ad5b99de183e667ba (diff) |
Make it possible to retrieve `hir::Function`'s return type
This is done by adding a `ret_type` method to `hir::Function`.
I followed `assoc_fn_params` convention by creating a new `RetType` type,
that contains the actual return type accessible via a `ty` method.
Diffstat (limited to '.vscode/extensions.json')
0 files changed, 0 insertions, 0 deletions