mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
io::Seek:⏪ Set tracking issue
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
parent
3113b6bd69
commit
7ae852e349
@ -1698,7 +1698,7 @@ pub trait Seek {
|
||||
/// f.read_to_string(&mut buf).unwrap();
|
||||
/// assert_eq!(&buf, hello);
|
||||
/// ```
|
||||
#[unstable(feature = "seek_rewind", issue = "none")]
|
||||
#[unstable(feature = "seek_rewind", issue = "85149")]
|
||||
fn rewind(&mut self) -> Result<()> {
|
||||
self.seek(SeekFrom::Start(0))?;
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user