8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7450cf0 + bf7430f commit 4a81c12Copy full SHA for 4a81c12
std/src/io/stdio.rs
@@ -1190,9 +1190,8 @@ pub trait IsTerminal: crate::sealed::Sealed {
1190
///
1191
/// - If you run this example by piping some text to it, e.g. `echo "foo" | path/to/executable`
1192
/// it will print: `Hello foo`.
1193
- /// - If you instead run the example interactively by running the executable directly, it will
1194
- /// panic with the message "Expected input to be piped to the process".
1195
- ///
+ /// - If you instead run the example interactively by running `path/to/executable` directly, it will
+ /// prompt for input.
1196
1197
/// [changes]: io#platform-specific-behavior
1198
/// [`Stdin`]: crate::io::Stdin
0 commit comments