Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add TryWriteable with internal Writeable refactoring #4787

Merged
merged 24 commits into from
Apr 10, 2024

Conversation

sffc
Copy link
Member

@sffc sffc commented Apr 9, 2024

Fixes #4741

This implements the "simpler version" discussed on 2024-04-09 and replaces the more complex version in #4772.

@sffc sffc marked this pull request as ready for review April 10, 2024 05:53
@sffc
Copy link
Member Author

sffc commented Apr 10, 2024

This currently implements option 5b in #4741 (comment).

utils/writeable/src/helpers.rs Outdated Show resolved Hide resolved
@sffc sffc changed the title Initial TryWriteable with refactoring Add TryWriteable with internal Writeable refactoring Apr 10, 2024
@sffc sffc requested a review from a team as a code owner April 10, 2024 06:06
@sffc sffc removed the request for review from nordzilla April 10, 2024 06:06
utils/writeable/src/lib.rs Show resolved Hide resolved
utils/writeable/src/helpers.rs Outdated Show resolved Hide resolved
utils/writeable/src/lib.rs Outdated Show resolved Hide resolved
utils/writeable/src/lib.rs Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
@sffc sffc requested a review from robertbastian April 10, 2024 15:37
Conflicts:
	utils/writeable/src/lib.rs
Copy link
Member

@robertbastian robertbastian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

sffc and others added 4 commits April 10, 2024 10:19
Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
@sffc sffc requested a review from robertbastian April 10, 2024 17:29
utils/writeable/src/lib.rs Show resolved Hide resolved
utils/writeable/src/testing.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
utils/writeable/src/try_writeable.rs Outdated Show resolved Hide resolved
Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
@sffc sffc requested a review from robertbastian April 10, 2024 17:58
@sffc sffc merged commit f235ef3 into unicode-org:main Apr 10, 2024
29 checks passed
@sffc sffc deleted the trywriteable2 branch April 10, 2024 21:16
sffc added a commit that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should we have a fallible Writeable?
2 participants