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]: https://github.com/rust-lang/rfcs/pull/950
This commit is contained in:
Alex Crichton 2015-03-16 10:56:08 -07:00
parent cc789193e1
commit b3a44859ec
5 changed files with 1 additions and 5 deletions

View File

@ -175,7 +175,6 @@
#![feature(int_uint)]
#![feature(core)]
#![feature(std_misc)]
#![feature(io)]
use std::boxed;
use std::cell::RefCell;

View File

@ -356,7 +356,7 @@ pub trait Write {
///
/// It is considered an error if not all bytes could be written due to
/// I/O errors or EOF being reached.
#[unstable(feature = "io", reason = "waiting for RFC 950")]
#[stable(feature = "rust1", since = "1.0.0")]
fn flush(&mut self) -> Result<()>;
/// Attempts to write an entire buffer into this write.

View File

@ -37,7 +37,6 @@
#![feature(staged_api)]
#![feature(std_misc)]
#![feature(unicode)]
#![feature(io)]
#![feature(path_ext)]
extern crate arena;

View File

@ -57,7 +57,6 @@
#![feature(box_syntax)]
#![feature(collections)]
#![feature(int_uint)]
#![feature(io)]
#![feature(rustc_private)]
#![feature(staged_api)]
#![feature(std_misc)]

View File

@ -42,7 +42,6 @@
#![feature(rustc_private)]
#![feature(staged_api)]
#![feature(std_misc)]
#![feature(io)]
#![feature(libc)]
#![feature(set_stdio)]