1
Fork 0

Rollup merge of #23415 - alexcrichton:stabilize-flush, r=aturon

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:
Manish Goregaokar 2015-03-17 15:20:03 +05:30
commit 925d5ad715
5 changed files with 1 additions and 5 deletions

View file

@ -363,7 +363,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.