Skip to content

Commit fce6af2

Browse files
committed
Stabilize std::io::Take::into_inner
1 parent dc2d505 commit fce6af2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/libstd/io/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1526,8 +1526,6 @@ impl<T> Take<T> {
15261526
/// # Examples
15271527
///
15281528
/// ```
1529-
/// #![feature(io_take_into_inner)]
1530-
///
15311529
/// use std::io;
15321530
/// use std::io::prelude::*;
15331531
/// use std::fs::File;
@@ -1543,7 +1541,7 @@ impl<T> Take<T> {
15431541
/// # Ok(())
15441542
/// # }
15451543
/// ```
1546-
#[unstable(feature = "io_take_into_inner", issue = "23755")]
1544+
#[stable(feature = "io_take_into_inner", since = "1.15.0")]
15471545
pub fn into_inner(self) -> T {
15481546
self.inner
15491547
}

0 commit comments

Comments
 (0)