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:
commit
cf8c73936d
@ -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))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user