about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-13 00:52:00 +0000
committerbors <bors@rust-lang.org>2021-04-13 00:52:00 +0000
commitd4d7ebf142d4dfc01f6435db1eb15eb337013aaf (patch)
tree4cc5ecd2a740a67dc155e3a7a4bda89b6ac71180
parent11d05284834b95dd39d6fdcad1e7064316800e50 (diff)
parentee10a1dd8177756b0a383c7d7054b61906eefced (diff)
downloadrust-d4d7ebf142d4dfc01f6435db1eb15eb337013aaf.tar.gz
rust-d4d7ebf142d4dfc01f6435db1eb15eb337013aaf.zip
Auto merge of #82992 - philippeitis:stabilize_bufreader_seek_relative, r=workingjubilee
Stabilize `bufreader_seek_relative`

This PR marks `BufReader::seek_relative` as stable - the associated issue, #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 #31100.
-rw-r--r--library/std/src/io/buffered/bufreader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/buffered/bufreader.rs b/library/std/src/io/buffered/bufreader.rs
index 02b0fc0c57d..d8021d3e99a 100644
--- a/library/std/src/io/buffered/bufreader.rs
+++ b/library/std/src/io/buffered/bufreader.rs
@@ -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.
-    #[unstable(feature = "bufreader_seek_relative", issue = "31100")]
+    #[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 {