未验证 提交 c97d3d4d 编写于 作者: L Lukas Kalbertodt 提交者: GitHub

Add tracking issue number for `seek_convenience`

上级 a85ec7c2
......@@ -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.
先完成此消息的编辑!
想要评论请 注册