8000 Implement From<&mut str> for String by lopopolo · Pull Request #69661 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Implement From<&mut str> for String #69661

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 3 commits into from
Mar 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add stable feature name
  • Loading branch information
lopopolo committed Mar 11, 2020
commit 18feaa3fa25f11e403478b562fa1db356b32c818
2 changes: 1 addition & 1 deletion src/liballoc/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ impl From<&str> for String {
}
}

#[stable(feature = "???", since = "1.43.0")]
#[stable(feature = "from_mut_str_for_string", since = "1.44.0")]
impl From<&mut str> for String {
#[inline]
fn from(s: &mut str) -> String {
Expand Down
0