You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe there's an easy way to do this, but with this amazing package, I no longer need to return a bool internal to the class of whether it was a success or not. Is there any way to return Result<_, int> something like that. I don't need to return anything if Success. I suppose it doesn't hurt or do anything to just return Result<bool, int> and just return true, but was hoping to just clean up the code a bit for readability.
The text was updated successfully, but these errors were encountered:
Maybe there's an easy way to do this, but with this amazing package, I no longer need to return a bool internal to the class of whether it was a success or not. Is there any way to return Result<_, int> something like that. I don't need to return anything if Success. I suppose it doesn't hurt or do anything to just return Result<bool, int> and just return true, but was hoping to just clean up the code a bit for readability.
The text was updated successfully, but these errors were encountered: