aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2020-12-30 17:23:00 +0000
committerPhil Ellison <[email protected]>2021-01-07 19:01:33 +0000
commitb2dbe6e43a28a22be2b5d8631dff83b644520f59 (patch)
treef68a822821336800792f80f3d4b1862c437956e5 /crates/hir_expand
parent981a0d708ec352969f9ca075a3e0e50c6da48197 (diff)
Add fix to wrap return expression in Some
Diffstat (limited to 'crates/hir_expand')
-rw-r--r--crates/hir_expand/src/name.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_expand/src/name.rs b/crates/hir_expand/src/name.rs
index 2f44876a8..95d853b6d 100644
--- a/crates/hir_expand/src/name.rs
+++ b/crates/hir_expand/src/name.rs
@@ -164,6 +164,7 @@ pub mod known {
164 future, 164 future,
165 result, 165 result,
166 boxed, 166 boxed,
167 option,
167 // Components of known path (type name) 168 // Components of known path (type name)
168 Iterator, 169 Iterator,
169 IntoIterator, 170 IntoIterator,
@@ -172,6 +173,7 @@ pub mod known {
172 Ok, 173 Ok,
173 Future, 174 Future,
174 Result, 175 Result,
176 Option,
175 Output, 177 Output,
176 Target, 178 Target,
177 Box, 179 Box,