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

Implement Clone for Drain #2650

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Conversation

stephaneyfx
Copy link
Contributor

This implementation makes it possible to use Drain in generic code accepting S: Sink<T> + Clone.

Thank you!

@stephaneyfx
Copy link
Contributor Author

CI fails for a reason unrelated to this PR, as already mentioned in this other PR.

@taiki-e
Copy link
Member

taiki-e commented Oct 10, 2022

Thanks!

CI failure has been fixed by #2651. Could you rebase?

@stephaneyfx
Copy link
Contributor Author

I rebased. Thank you for the review!

@taiki-e taiki-e merged commit 930d3e0 into rust-lang:master Oct 10, 2022
@taiki-e taiki-e added the 0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. label Oct 10, 2022
taiki-e pushed a commit that referenced this pull request Oct 20, 2022
@taiki-e taiki-e mentioned this pull request Oct 20, 2022
@taiki-e taiki-e added 0.3-backport: completed and removed 0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. labels Oct 20, 2022
taiki-e pushed a commit that referenced this pull request Oct 20, 2022
@taiki-e
Copy link
Member

taiki-e commented Oct 20, 2022

Published in 0.3.25.

crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Oct 20, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [futures](https://rust-lang.github.io/futures-rs) ([source](https://github.com/rust-lang/futures-rs)) | dependencies | patch | `0.3.24` -> `0.3.25` |

---

### Release Notes

<details>
<summary>rust-lang/futures-rs</summary>

### [`v0.3.25`](https://github.com/rust-lang/futures-rs/blob/HEAD/CHANGELOG.md#&#8203;0325---2022-10-20)

[Compare Source](rust-lang/futures-rs@0.3.24...0.3.25)

-   Fix soundness issue in `join!` and `try_join!` macros ([#&#8203;2649](rust-lang/futures-rs#2649))
-   Implement `Clone` for `sink::Drain` ([#&#8203;2650](rust-lang/futures-rs#2650))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuNSIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC41In0=-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1595
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
@stephaneyfx stephaneyfx deleted the drain-clone branch October 24, 2022 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants