Bump stable version of bufreader_seek_relative.
This commit is contained in:
parent
c5ac064666
commit
ee10a1dd81
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ impl<R: Seek> BufReader<R> {
|
|||
/// the buffer will not be flushed, allowing for more efficient seeks.
|
||||
/// This method does not return the location of the underlying reader, so the caller
|
||||
/// must track this information themselves if it is required.
|
||||
#[stable(feature = "bufreader_seek_relative", since = "1.52.0")]
|
||||
#[stable(feature = "bufreader_seek_relative", since = "1.53.0")]
|
||||
pub fn seek_relative(&mut self, offset: i64) -> io::Result<()> {
|
||||
let pos = self.pos as u64;
|
||||
if offset < 0 {
|
||||
|
|
Loading…
Reference in a new issue