From 243742262265164795c3dd0ee2df1bfa15d51cf8 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Mon, 21 Mar 2022 22:57:31 +0100 Subject: [PATCH] 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 ac6d41e13b00..38558fb57400 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() }