about summary refs log tree commit diff
path: root/src/libstd/sys/windows/ext/fs.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2016-12-14 11:35:05 -0800
committerAaron Turon <aturon@mozilla.com>2016-12-15 10:56:55 -0800
commitdf26a5a9587c5fd922163d2b7625588fa97912cc (patch)
tree155458970cfa965e8c1274332bba6b517be3aef3 /src/libstd/sys/windows/ext/fs.rs
parent95373cd5d8ed2c96100945448d7bf0743298e5dc (diff)
downloadrust-df26a5a9587c5fd922163d2b7625588fa97912cc.tar.gz
rust-df26a5a9587c5fd922163d2b7625588fa97912cc.zip
Stabilize std::os::*::fs::FileExt
Diffstat (limited to 'src/libstd/sys/windows/ext/fs.rs')
-rw-r--r--src/libstd/sys/windows/ext/fs.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sys/windows/ext/fs.rs b/src/libstd/sys/windows/ext/fs.rs
index 1e2b8bf38fa..7fc04ad69d6 100644
--- a/src/libstd/sys/windows/ext/fs.rs
+++ b/src/libstd/sys/windows/ext/fs.rs
@@ -19,7 +19,7 @@ use sys;
 use sys_common::{AsInnerMut, AsInner};
 
 /// Windows-specific extensions to `File`
-#[unstable(feature = "file_offset", issue = "35918")]
+#[stable(feature = "file_offset", since = "1.15.0")]
 pub trait FileExt {
     /// Seeks to a given position and reads a number of bytes.
     ///
@@ -35,7 +35,7 @@ pub trait FileExt {
     /// Note that similar to `File::read`, it is not an error to return with a
     /// short read. When returning from such a short read, the file pointer is
     /// still updated.
-    #[unstable(feature = "file_offset", issue = "35918")]
+    #[stable(feature = "file_offset", since = "1.15.0")]
     fn seek_read(&self, buf: &mut [u8], offset: u64) -> io::Result<usize>;
 
     /// Seeks to a given position and writes a number of bytes.
@@ -52,11 +52,11 @@ pub trait FileExt {
     /// Note that similar to `File::write`, it is not an error to return a
     /// short write. When returning from such a short write, the file pointer
     /// is still updated.
-    #[unstable(feature = "file_offset", issue = "35918")]
+    #[stable(feature = "file_offset", since = "1.15.0")]
     fn seek_write(&self, buf: &[u8], offset: u64) -> io::Result<usize>;
 }
 
-#[unstable(feature = "file_offset", issue = "35918")]
+#[stable(feature = "file_offset", since = "1.15.0")]
 impl FileExt for fs::File {
     fn seek_read(&self, buf: &mut [u8], offset: u64) -> io::Result<usize> {
         self.as_inner().read_at(buf, offset)