From 243742262265164795c3dd0ee2df1bfa15d51cf8 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Mon, 21 Mar 2022 22:57:31 +0100 Subject: [PATCH 1/2] Stabilize Stdin::lines. --- library/std/src/io/stdio.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index ac6d41e13b009..38558fb574003 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> { self.lock().lines() } From f87d180e7d36e761ef51fb33d9ee2406424de8ee Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 6 Apr 2022 17:26:33 +0200 Subject: [PATCH 2/2] Bump stabilization of stdin_forwarders to 1.62.0. --- library/std/src/io/stdio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index 38558fb574003..ae16015e35a1a 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -402,7 +402,7 @@ impl Stdin { /// } /// ``` #[must_use = "`self` will be dropped if the result is not used"] - #[stable(feature = "stdin_forwarders", since = "1.61.0")] + #[stable(feature = "stdin_forwarders", since = "1.62.0")] pub fn lines(self) -> Lines> { self.lock().lines() }