about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-28 01:07:45 +0900
committerYuki Okushi <jtitor@2k36.org>2022-05-28 01:07:45 +0900
commit846f134cd3eec85cc5751f971d828c86ee64e19f (patch)
tree523f0e1916470582b979fb3595c2b882cb80f521
parent56fd680cf9226ab424f88d4e3b43c5e088d17f19 (diff)
downloadrust-846f134cd3eec85cc5751f971d828c86ee64e19f.tar.gz
rust-846f134cd3eec85cc5751f971d828c86ee64e19f.zip
Stabilize `toowned_clone_into`
-rw-r--r--library/alloc/src/borrow.rs3
-rw-r--r--library/std/src/lib.rs1
2 files changed, 1 insertions, 3 deletions
diff --git a/library/alloc/src/borrow.rs b/library/alloc/src/borrow.rs
index cb4e438f8be..7a79fb77dea 100644
--- a/library/alloc/src/borrow.rs
+++ b/library/alloc/src/borrow.rs
@@ -67,14 +67,13 @@ pub trait ToOwned {
     /// Basic usage:
     ///
     /// ```
-    /// # #![feature(toowned_clone_into)]
     /// let mut s: String = String::new();
     /// "hello".clone_into(&mut s);
     ///
     /// let mut v: Vec<i32> = Vec::new();
     /// [1, 2][..].clone_into(&mut v);
     /// ```
-    #[unstable(feature = "toowned_clone_into", reason = "recently added", issue = "41263")]
+    #[stable(feature = "toowned_clone_into", since = "1.63.0")]
     fn clone_into(&self, target: &mut Self::Owned) {
         *target = self.to_owned();
     }
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 6dc3fd98584..5145790fa6b 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -298,7 +298,6 @@
 #![feature(map_try_insert)]
 #![feature(new_uninit)]
 #![feature(thin_box)]
-#![feature(toowned_clone_into)]
 #![feature(try_reserve_kind)]
 #![feature(vec_into_raw_parts)]
 //