Skip to content

Commit d2f1a0b

Browse files
authored
Rollup merge of #95185 - m-ou-se:stabilize-stdin-lines, r=Mark-Simulacrum
Stabilize Stdin::lines. Closes #87096 Fcp completed here: #87096 (comment)
2 parents 8f36334 + f87d180 commit d2f1a0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/std/src/io/stdio.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ impl Stdin {
394394
/// # Examples
395395
///
396396
/// ```no_run
397-
/// #![feature(stdin_forwarders)]
398397
/// use std::io;
399398
///
400399
/// let lines = io::stdin().lines();
@@ -403,7 +402,7 @@ impl Stdin {
403402
/// }
404403
/// ```
405404
#[must_use = "`self` will be dropped if the result is not used"]
406-
#[unstable(feature = "stdin_forwarders", issue = "87096")]
405+
#[stable(feature = "stdin_forwarders", since = "1.62.0")]
407406
pub fn lines(self) -> Lines<StdinLock<'static>> {
408407
self.lock().lines()
409408
}

0 commit comments

Comments
 (0)