Skip to content

Commit c5ac064

Browse files
authored
Stabilize bufreader_seek_relative
1 parent 861872b commit c5ac064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/buffered/bufreader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl<R: Seek> BufReader<R> {
234234
/// the buffer will not be flushed, allowing for more efficient seeks.
235235
/// This method does not return the location of the underlying reader, so the caller
236236
/// must track this information themselves if it is required.
237-
#[unstable(feature = "bufreader_seek_relative", issue = "31100")]
237+
#[stable(feature = "bufreader_seek_relative", since = "1.52.0")]
238238
pub fn seek_relative(&mut self, offset: i64) -> io::Result<()> {
239239
let pos = self.pos as u64;
240240
if offset < 0 {

0 commit comments

Comments
 (0)