Commit 0d6202d
committed
Auto merge of #18294 - Giga-Bowser:master, r=Veykril
Add wrap/unwrap return type in Option
I pretty much just copied over the code and tests for wrapping/unwrapping return types in `Result` and then did a bunch of find and replace changes.
I handled unwrapping statements returning `None` by just replacing `None` with the unit type, but I'm open to suggestions for more intuitive behavior here.File tree
6 files changed
+4718
-2387
lines changed- src/tools/rust-analyzer/crates/ide-assists/src
- handlers
- tests
6 files changed
+4718
-2387
lines changed
0 commit comments