Skip to content

Commit

Permalink
Reference tracking issue for more_io_inner_methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Apr 25, 2017
1 parent aab87e3 commit 76397ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# `more_io_inner_methods`

The tracking issue for this feature is: None.
The tracking issue for this feature is: [#41519]

[#41519]: https://github.com/rust-lang/rust/issues/41519

------------------------

Expand Down
10 changes: 5 additions & 5 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="0")]
#[unstable(feature = "more_io_inner_methods", issue="41519")]
pub fn into_inner(self) -> (T, U) {
(self.first, self.second)
}
Expand All @@ -1540,7 +1540,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="0")]
#[unstable(feature = "more_io_inner_methods", issue="41519")]
pub fn get_ref(&self) -> (&T, &U) {
(&self.first, &self.second)
}
Expand All @@ -1565,7 +1565,7 @@ impl<T, U> Chain<T, U> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="0")]
#[unstable(feature = "more_io_inner_methods", issue="41519")]
pub fn get_mut(&mut self) -> (&mut T, &mut U) {
(&mut self.first, &mut self.second)
}
Expand Down Expand Up @@ -1706,7 +1706,7 @@ impl<T> Take<T> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="0")]
#[unstable(feature = "more_io_inner_methods", issue="41519")]
pub fn get_ref(&self) -> &T {
&self.inner
}
Expand All @@ -1733,7 +1733,7 @@ impl<T> Take<T> {
/// # Ok(())
/// # }
/// ```
#[unstable(feature = "more_io_inner_methods", issue="0")]
#[unstable(feature = "more_io_inner_methods", issue="41519")]
pub fn get_mut(&mut self) -> &mut T {
&mut self.inner
}
Expand Down

0 comments on commit 76397ae

Please sign in to comment.