Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rename res::ResultOr into res::ResultOf #16

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

threeal
Copy link
Owner

@threeal threeal commented Dec 28, 2022

Simply rename res::ResultOr into res::ResultOf.

Reason: res::ResultOf is a container of T data so it's "result of T", instead of "result or T". Different from absl::StatusOr in which we could directly extract absl::Status from absl::StatusOr, hence it's "status or T".

@threeal threeal self-assigned this Dec 28, 2022
@threeal threeal added the feat label Dec 28, 2022
@threeal threeal marked this pull request as ready for review December 28, 2022 13:20
@threeal threeal merged commit c536229 into main Dec 28, 2022
@threeal threeal deleted the rename-result-or-to-result-of branch December 28, 2022 13:23
@threeal threeal mentioned this pull request Mar 14, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant