Reference tracking issue for more_io_inner_methods.
This commit is contained in:
parent
aab87e3e9e
commit
76397aea50
@ -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
|
||||
|
||||
------------------------
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user