Rollup merge of #59360 - LukasKalbertodt:patch-2, r=rkruppe

Add tracking issue number for `seek_convenience`

We forgot to do that in #58422
This commit is contained in:
Mazdak Farrokhzad 2019-03-22 19:31:41 +01:00 committed by GitHub
commit cf8c73936d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1381,7 +1381,7 @@ pub trait Seek {
/// Ok(())
/// }
/// ```
#[unstable(feature = "seek_convenience", issue = "0")]
#[unstable(feature = "seek_convenience", issue = "59359")]
fn stream_len(&mut self) -> Result<u64> {
let old_pos = self.stream_position()?;
let len = self.seek(SeekFrom::End(0))?;
@ -1420,7 +1420,7 @@ pub trait Seek {
/// Ok(())
/// }
/// ```
#[unstable(feature = "seek_convenience", issue = "0")]
#[unstable(feature = "seek_convenience", issue = "59359")]
fn stream_position(&mut self) -> Result<u64> {
self.seek(SeekFrom::Current(0))
}