Skip to content

Adjust AsRef impl for Cow #23995

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

Merged
merged 1 commit into from
Apr 4, 2015
Merged

Adjust AsRef impl for Cow #23995

merged 1 commit into from
Apr 4, 2015

Conversation

aturon
Copy link
Member

@aturon aturon commented Apr 3, 2015

The existing impl had the too-strong requirement of Clone, when only
ToOwned was needed.

The existing impl had the too-strong requirement of `Clone`, when only
`ToOwned` was needed.
@aturon
Copy link
Member Author

aturon commented Apr 3, 2015

cc @reem

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@huonw
Copy link
Member

huonw commented Apr 3, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 3, 2015

📌 Commit 6529872 has been approved by huonw

reem added a commit to reem/hyper that referenced this pull request Apr 3, 2015
We can revert this PR when rust-lang/rust#23995 lands, but it won't
land until after beta is cut.
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 3, 2015
The existing impl had the too-strong requirement of `Clone`, when only
`ToOwned` was needed.
bors added a commit that referenced this pull request Apr 3, 2015
mikedilger pushed a commit to mikedilger/hyper that referenced this pull request Apr 3, 2015
We can revert this PR when rust-lang/rust#23995 lands, but it won't
land until after beta is cut.
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 4, 2015
 The existing impl had the too-strong requirement of `Clone`, when only
`ToOwned` was needed.
@bors bors merged commit 6529872 into rust-lang:master Apr 4, 2015
seanmonstar pushed a commit to hyperium/headers that referenced this pull request Jul 9, 2018
We can revert this PR when rust-lang/rust#23995 lands, but it won't
land until after beta is cut.
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.

5 participants