Repository navigation
ch09-02: ? may be used with Result or Option - #1852
BooleanCat wants to merge 1 commit into
Conversation
Yes, it used to be the case that Thank you for the suggested fix -- I think we're going to fix it a different way though, because the rest of this paragraph only talks about This already has a bug to track it: #1679 so thank you for the reminder, and we'll fix this soon! |
|
Seeing as how the other pull request for this issue (#1713) was rejected for being too large, this pull request should be merge as a temporary fix instead, to at least let the reader know that |
|
Alternatively I made my own pull request with a more subtle change which may be easier to incorporate as a temporary fix. |
ch09-02 makes (what seems to me, I'm still learning!) to be a false claim that
?may only be used with Result.Yet when I tried this it compiled just fine:
I'm a little uncomfortable with the change I'm suggesting here since it seems strange to claim that
?works withOptionwithout demonstrating it as such - however this section of the book doesn't seem like the right place for that. Any advice?