Skip to content

Commit bf248c8

Browse files
authored
Rollup merge of #97455 - JohnTitor:stabilize-toowned-clone-into, r=dtolnay
Stabilize `toowned_clone_into` Closes #41263 FCP has been done: #41263 (comment)
2 parents 38d8167 + 846f134 commit bf248c8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

library/alloc/src/borrow.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,13 @@ pub trait ToOwned {
6767
/// Basic usage:
6868
///
6969
/// ```
70-
/// # #![feature(toowned_clone_into)]
7170
/// let mut s: String = String::new();
7271
/// "hello".clone_into(&mut s);
7372
///
7473
/// let mut v: Vec<i32> = Vec::new();
7574
/// [1, 2][..].clone_into(&mut v);
7675
/// ```
77-
#[unstable(feature = "toowned_clone_into", reason = "recently added", issue = "41263")]
76+
#[stable(feature = "toowned_clone_into", since = "1.63.0")]
7877
fn clone_into(&self, target: &mut Self::Owned) {
7978
*target = self.to_owned();
8079
}

library/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@
298298
#![feature(map_try_insert)]
299299
#![feature(new_uninit)]
300300
#![feature(thin_box)]
301-
#![feature(toowned_clone_into)]
302301
#![feature(try_reserve_kind)]
303302
#![feature(vec_into_raw_parts)]
304303
//

0 commit comments

Comments
 (0)