Skip to content

Commit

Permalink
Auto merge of #18294 - Giga-Bowser:master, r=Veykril
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Oct 21, 2024
2 parents a41e315 + 2372217 commit 0d6202d
Show file tree
Hide file tree
Showing 6 changed files with 4,718 additions and 2,387 deletions.
Loading

0 comments on commit 0d6202d

Please sign in to comment.