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:
parent
cc789193e1
commit
b3a44859ec
@ -175,7 +175,6 @@
|
||||
#![feature(int_uint)]
|
||||
#![feature(core)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(io)]
|
||||
|
||||
use std::boxed;
|
||||
use std::cell::RefCell;
|
||||
|
@ -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.
|
||||
|
@ -37,7 +37,6 @@
|
||||
#![feature(staged_api)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(unicode)]
|
||||
#![feature(io)]
|
||||
#![feature(path_ext)]
|
||||
|
||||
extern crate arena;
|
||||
|
@ -57,7 +57,6 @@
|
||||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(io)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(std_misc)]
|
||||
|
@ -42,7 +42,6 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(io)]
|
||||
#![feature(libc)]
|
||||
#![feature(set_stdio)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user