Skip to content

Commit d4d7ebf

Browse files
committed
Auto merge of rust-lang#82992 - philippeitis:stabilize_bufreader_seek_relative, r=workingjubilee
Stabilize `bufreader_seek_relative` This PR marks `BufReader::seek_relative` as stable - the associated issue, rust-lang#31100, has passed the final comment period without any issues, and from what I understand, the only thing left to stabilize this is to submit a PR marking the method as stable. Closes rust-lang#31100.
2 parents 11d0528 + ee10a1d commit d4d7ebf

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.53.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)