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

Port try_clone to io-lifetimes. #16

Merged
merged 1 commit into from
Feb 8, 2022
Merged

Conversation

sunfishcode
Copy link
Owner

@sunfishcode sunfishcode commented Feb 8, 2022

Port std's try_clone, added in rust-lang/rust#88794, to io-lifetimes.

This puts the actua clone logic under control of feature = "close", as
it has a similar circular dependency issue with rustix.

Port std's `try_clone`, added in rust-lang/rust#88794, to io-lifetimes.

This puts the actua clone logic under control of `feature = "close"`, as
it has a similar circular dependency issue with rustix.
@sunfishcode sunfishcode force-pushed the sunfishcode/try-clone branch from 4a398d1 to 293f408 Compare February 8, 2022 01:45
sunfishcode added a commit to bytecodealliance/rustix that referenced this pull request Feb 8, 2022
This corresponds to the `try_clone` function in sunfishcode/io-lifetimes#16
and rust-lang/rust#88794.
sunfishcode added a commit to bytecodealliance/rustix that referenced this pull request Feb 8, 2022
This corresponds to the `try_clone` function in sunfishcode/io-lifetimes#16
and rust-lang/rust#88794.
sunfishcode added a commit to bytecodealliance/rustix that referenced this pull request Feb 8, 2022
This corresponds to the `try_clone` function in sunfishcode/io-lifetimes#16
and rust-lang/rust#88794.
@sunfishcode sunfishcode merged commit 730d9ed into main Feb 8, 2022
@sunfishcode sunfishcode deleted the sunfishcode/try-clone branch February 8, 2022 21:56
sunfishcode added a commit to bytecodealliance/rustix that referenced this pull request Feb 10, 2022
This corresponds to the `try_clone` function in sunfishcode/io-lifetimes#16
and rust-lang/rust#88794.
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.

1 participant