From 846f134cd3eec85cc5751f971d828c86ee64e19f Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 28 May 2022 01:07:45 +0900 Subject: Stabilize `toowned_clone_into` --- library/alloc/src/borrow.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'library/alloc') 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 = 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(); } -- cgit 1.4.1-3-g733a5