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

into_string() is dead, long live to_owned() #27

Closed
kennytm opened this issue Jan 6, 2015 · 3 comments
Closed

into_string() is dead, long live to_owned() #27

kennytm opened this issue Jan 6, 2015 · 3 comments

Comments

@kennytm
Copy link
Member

kennytm commented Jan 6, 2015

Since rust-lang/rust#19741 is merged, str.into_string() is no longer available. The replacement seems to be std::borrow::ToOwned::to_owned(). The lint should be updated to this.

@Manishearth
Copy link
Member

Looks like we came full circle on this to_owned() business :p

@Manishearth
Copy link
Member

Wait, to_owned() just calls to_string(). Not good.

@Manishearth
Copy link
Member

Okay, that got fixed.

yaahc pushed a commit to yaahc/rust-clippy that referenced this issue Mar 14, 2019
yaahc pushed a commit to yaahc/rust-clippy that referenced this issue Mar 14, 2019
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

No branches or pull requests

2 participants