diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2022-03-21 22:57:31 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2022-03-21 22:57:31 +0100 |
| commit | 243742262265164795c3dd0ee2df1bfa15d51cf8 (patch) | |
| tree | 11cb183df9542de2bd9039e6d08e7c431aed8ba4 /library/std/src/io/stdio.rs | |
| parent | 44628f7273052d0bb8e8218518dacab210e1fe0d (diff) | |
| download | rust-243742262265164795c3dd0ee2df1bfa15d51cf8.tar.gz rust-243742262265164795c3dd0ee2df1bfa15d51cf8.zip | |
Stabilize Stdin::lines.
Diffstat (limited to 'library/std/src/io/stdio.rs')
| -rw-r--r-- | library/std/src/io/stdio.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index ac6d41e13b0..38558fb5740 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -394,7 +394,6 @@ impl Stdin { /// # Examples /// /// ```no_run - /// #![feature(stdin_forwarders)] /// use std::io; /// /// let lines = io::stdin().lines(); @@ -403,7 +402,7 @@ impl Stdin { /// } /// ``` #[must_use = "`self` will be dropped if the result is not used"] - #[unstable(feature = "stdin_forwarders", issue = "87096")] + #[stable(feature = "stdin_forwarders", since = "1.61.0")] pub fn lines(self) -> Lines<StdinLock<'static>> { self.lock().lines() } |
