Skip to content

Commit

Permalink
Stabilize 'more_io_inner_methods' feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jul 1, 2017
1 parent 7d89b20 commit d280b40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.

This file was deleted.

20 changes: 5 additions & 15 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1589,8 +1589,6 @@ impl<T, U> Chain<T, U> {
/// # Examples
///
/// ```
/// #![feature(more_io_inner_methods)]
///
/// # use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
Expand All @@ -1604,7 +1602,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="41519")]
#[stable(feature = "more_io_inner_methods", since = "1.20.0")]
pub fn into_inner(self) -> (T, U) {
(self.first, self.second)
}
Expand All @@ -1614,8 +1612,6 @@ impl<T, U> Chain<T, U> {
/// # Examples
///
/// ```
/// #![feature(more_io_inner_methods)]
///
/// # use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
Expand All @@ -1629,7 +1625,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="41519")]
#[stable(feature = "more_io_inner_methods", since = "1.20.0")]
pub fn get_ref(&self) -> (&T, &U) {
(&self.first, &self.second)
}
Expand All @@ -1643,8 +1639,6 @@ impl<T, U> Chain<T, U> {
/// # Examples
///
/// ```
/// #![feature(more_io_inner_methods)]
///
/// # use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
Expand All @@ -1658,7 +1652,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="41519")]
#[stable(feature = "more_io_inner_methods", since = "1.20.0")]
pub fn get_mut(&mut self) -> (&mut T, &mut U) {
(&mut self.first, &mut self.second)
}
Expand Down Expand Up @@ -1791,8 +1785,6 @@ impl<T> Take<T> {
/// # Examples
///
/// ```
/// #![feature(more_io_inner_methods)]
///
/// use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
Expand All @@ -1808,7 +1800,7 @@ impl<T> Take<T> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="41519")]
#[stable(feature = "more_io_inner_methods", since = "1.20.0")]
pub fn get_ref(&self) -> &T {
&self.inner
}
Expand All @@ -1822,8 +1814,6 @@ impl<T> Take<T> {
/// # Examples
///
/// ```
/// #![feature(more_io_inner_methods)]
///
/// use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
Expand All @@ -1839,7 +1829,7 @@ impl<T> Take<T> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="41519")]
#[stable(feature = "more_io_inner_methods", since = "1.20.0")]
pub fn get_mut(&mut self) -> &mut T {
&mut self.inner
}
Expand Down

0 comments on commit d280b40

Please sign in to comment.