diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-16 10:56:08 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-16 11:51:57 -0700 |
| commit | b3a44859ec1a089859931784f0271c2fd7a0eb1d (patch) | |
| tree | 828da7d3ea0c81ea611fac821304aab5fa00b885 /src/libstd/io/mod.rs | |
| parent | cc789193e11ab2d864db3186aa1961283b3d4cdc (diff) | |
| download | rust-b3a44859ec1a089859931784f0271c2fd7a0eb1d.tar.gz rust-b3a44859ec1a089859931784f0271c2fd7a0eb1d.zip | |
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
Diffstat (limited to 'src/libstd/io/mod.rs')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 35ef375174a..2c4bfb8a3d2 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -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. |
