Skip to content

Commit b3a4485

Browse files
committed
std: Stabilize the Write::flush method
The [associated RFC][rfc] for possibly splitting out `flush` has been closed and as a result there are no more blockers for stabilizing this method, so this commit marks the method as such. [rfc]: rust-lang/rfcs#950
1 parent cc78919 commit b3a4485

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

src/liblog/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
#![feature(int_uint)]
176176
#![feature(core)]
177177
#![feature(std_misc)]
178-
#![feature(io)]
179178

180179
use std::boxed;
181180
use std::cell::RefCell;

src/libstd/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ pub trait Write {
356356
///
357357
/// It is considered an error if not all bytes could be written due to
358358
/// I/O errors or EOF being reached.
359-
#[unstable(feature = "io", reason = "waiting for RFC 950")]
359+
#[stable(feature = "rust1", since = "1.0.0")]
360360
fn flush(&mut self) -> Result<()>;
361361

362362
/// Attempts to write an entire buffer into this write.

src/libsyntax/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#![feature(staged_api)]
3838
#![feature(std_misc)]
3939
#![feature(unicode)]
40-
#![feature(io)]
4140
#![feature(path_ext)]
4241

4342
extern crate arena;

src/libterm/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
#![feature(box_syntax)]
5858
#![feature(collections)]
5959
#![feature(int_uint)]
60-
#![feature(io)]
6160
#![feature(rustc_private)]
6261
#![feature(staged_api)]
6362
#![feature(std_misc)]

src/libtest/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#![feature(rustc_private)]
4343
#![feature(staged_api)]
4444
#![feature(std_misc)]
45-
#![feature(io)]
4645
#![feature(libc)]
4746
#![feature(set_stdio)]
4847

0 commit comments

Comments
 (0)