`Result<(), ()>` This type is useful
-
-
Not only that. I'm mostly using it because it also enforces checking the result thanks to attribute on Result enum, while boolean can be accidentally ignored.
-
You should really return an actual error with some meaningful information
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.