diff options
| author | bors <bors@rust-lang.org> | 2018-04-11 06:03:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-11 06:03:46 +0000 |
| commit | ca26ef321c44358404ef788d315c4557eb015fb2 (patch) | |
| tree | 1da12be1a849c37c972dacac82f64000a49fd285 /src/libstd | |
| parent | 43e994c8b8f97246db16b82cea50d3eafecc3dd9 (diff) | |
| parent | 210a2a2b9e5f7bc105897654bfea0f9cc7c8d89f (diff) | |
| download | rust-ca26ef321c44358404ef788d315c4557eb015fb2.tar.gz rust-ca26ef321c44358404ef788d315c4557eb015fb2.zip | |
Auto merge of #49681 - tmccombs:take-set-limit-stable, r=sfackler
Stabilize take_set_limit Fixes #42781
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 3b8c42ddb39..b02e133ee4d 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1829,7 +1829,6 @@ impl<T> Take<T> { /// # Examples /// /// ```no_run - /// #![feature(take_set_limit)] /// use std::io; /// use std::io::prelude::*; /// use std::fs::File; @@ -1845,7 +1844,7 @@ impl<T> Take<T> { /// Ok(()) /// } /// ``` - #[unstable(feature = "take_set_limit", issue = "42781")] + #[stable(feature = "take_set_limit", since = "1.27.0")] pub fn set_limit(&mut self, limit: u64) { self.limit = limit; } |
