We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97b3d81 commit 2a29726Copy full SHA for 2a29726
src/liballoc/string.rs
@@ -2225,6 +2225,14 @@ impl From<&str> for String {
2225
}
2226
2227
2228
+#[stable(feature = "???", since = "1.43.0")]
2229
+impl From<&mut str> for String {
2230
+ #[inline]
2231
+ fn from(s: &mut str) -> String {
2232
+ s.to_owned()
2233
+ }
2234
+}
2235
+
2236
#[stable(feature = "from_ref_string", since = "1.35.0")]
2237
impl From<&String> for String {
2238
#[inline]
0 commit comments