Skip to content

Conversation

@threeal
Copy link
Owner

@threeal threeal commented Dec 22, 2022

  • Add implicit type cast from res::ResultOr into res::Result.
  • Add explicit type cast from res::ResultOr into another res::ResultOr with different type.
    • Add as() function to simplify this type cast.

@threeal threeal added the feat label Dec 22, 2022
@threeal threeal self-assigned this Dec 22, 2022
@threeal threeal marked this pull request as ready for review December 22, 2022 14:09
@threeal threeal merged commit 7acc062 into main Dec 22, 2022
@threeal threeal deleted the add-type-cast branch December 22, 2022 14:15
@threeal threeal mentioned this pull request Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants