diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-28 13:16:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-28 13:16:18 +0100 |
commit | b5d41ba0e2020f67764b34c152a0684464495ad6 (patch) | |
tree | 26d2bbb83753cb3c4927cb0c13fb15879ef17371 /crates/rust-analyzer | |
parent | 613649e6318173099d25348c67e172ddf0277d86 (diff) | |
parent | b4e936f8f09a3f7825de7ca2287d5daa5bf637f3 (diff) |
Merge #9038
9038: Folding range for return types r=Veykril a=MozarellaMan
For issue #8957
![return type fold](https://user-images.githubusercontent.com/48062697/119979082-5c62e100-bfb2-11eb-9729-1dea1ce74de1.gif)
Co-authored-by: Ayomide Bamidele <[email protected]>
Diffstat (limited to 'crates/rust-analyzer')
-rw-r--r-- | crates/rust-analyzer/src/to_proto.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index 6d18d0ffc..f5c8535a2 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -534,6 +534,7 @@ pub(crate) fn folding_range( | |||
534 | | FoldKind::Consts | 534 | | FoldKind::Consts |
535 | | FoldKind::Statics | 535 | | FoldKind::Statics |
536 | | FoldKind::WhereClause | 536 | | FoldKind::WhereClause |
537 | | FoldKind::ReturnType | ||
537 | | FoldKind::Array => None, | 538 | | FoldKind::Array => None, |
538 | }; | 539 | }; |
539 | 540 | ||