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 Cow::from for Vec and slices #31386

Merged
merged 2 commits into from
Feb 5, 2016
Merged

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Feb 3, 2016

Fixes #31354.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

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

@tbu-
Copy link
Contributor Author

tbu- commented Feb 3, 2016

Travis failure looks unrelated.

@@ -1505,6 +1505,22 @@ impl<'a> From<&'a str> for Vec<u8> {
// Clone-on-write
////////////////////////////////////////////////////////////////////////////////

#[stable(feature = "rust1", since = "1.7.0")]
Copy link
Member

Choose a reason for hiding this comment

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

This'll need a different feature name because the rust1 feature was stabilized in 1.0.0

@tbu-
Copy link
Contributor Author

tbu- commented Feb 3, 2016

@alexcrichton Addressed the comments.

@alexcrichton
Copy link
Member

@bors: r+ b27b8f6

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 5, 2016
@bors
Copy link
Contributor

bors commented Feb 5, 2016

⌛ Testing commit b27b8f6 with merge 2ad6dc2...

bors added a commit that referenced this pull request Feb 5, 2016
@bors bors merged commit b27b8f6 into rust-lang:master Feb 5, 2016
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