Skip to content

Commit

Permalink
Rollup merge of rust-lang#59360 - LukasKalbertodt:patch-2, r=rkruppe
Browse files Browse the repository at this point in the history
Add tracking issue number for `seek_convenience`

We forgot to do that in rust-lang#58422
  • Loading branch information
Centril committed Mar 22, 2019
2 parents 4be19e3 + c97d3d4 commit cf8c739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))?;
Expand Down Expand Up @@ -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))
}
Expand Down

0 comments on commit cf8c739

Please sign in to comment.