about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2016-12-14 12:39:16 -0800
committerAaron Turon <aturon@mozilla.com>2016-12-15 10:56:56 -0800
commitfce6af2a6759991b8f31b6dcbee315ccacb2339d (patch)
tree02bef1e01d97dc5306173a977b53610780536b69 /src/libstd
parentdc2d5058e999abb18ab2686b4e3e385ec6e36666 (diff)
downloadrust-fce6af2a6759991b8f31b6dcbee315ccacb2339d.tar.gz
rust-fce6af2a6759991b8f31b6dcbee315ccacb2339d.zip
Stabilize std::io::Take::into_inner
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index b3b89213df1..b07da0dc268 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -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
     }