Skip to content

Commit 577f73d

Browse files
cod10129gitbot
authored and
gitbot
committed
add isatty alias for is_terminal
1 parent 4cd9f57 commit 577f73d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/io/stdio.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,7 @@ pub trait IsTerminal: crate::sealed::Sealed {
12001200
///
12011201
/// [changes]: io#platform-specific-behavior
12021202
/// [`Stdin`]: crate::io::Stdin
1203+
#[doc(alias = "isatty")]
12031204
#[stable(feature = "is_terminal", since = "1.70.0")]
12041205
fn is_terminal(&self) -> bool;
12051206
}

0 commit comments

Comments
 (0)