未验证 提交 cf8c7393 编写于 作者: M Mazdak Farrokhzad 提交者: GitHub

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

Add tracking issue number for `seek_convenience`

We forgot to do that in #58422
......@@ -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 @@ fn stream_len(&mut self) -> Result<u64> {
/// 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))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册