Stabilize std::io::Take::into_inner
This commit is contained in:
parent
dc2d5058e9
commit
fce6af2a67
1 changed files with 1 additions and 3 deletions
|
@ -1526,8 +1526,6 @@ impl<T> Take<T> {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(io_take_into_inner)]
|
||||
///
|
||||
/// use std::io;
|
||||
/// use std::io::prelude::*;
|
||||
/// use std::fs::File;
|
||||
|
@ -1543,7 +1541,7 @@ impl<T> Take<T> {
|
|||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
#[unstable(feature = "io_take_into_inner", issue = "23755")]
|
||||
#[stable(feature = "io_take_into_inner", since = "1.15.0")]
|
||||
pub fn into_inner(self) -> T {
|
||||
self.inner
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue