Skip to content

Commit b40a014

Browse files
committed
Rename is_terminal to rustix_is_terminal in more places.
1 parent 71d200c commit b40a014

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ of `libc` in its implementation. This allows it to support `no_std` on
2323

2424
<hr>
2525

26-
is-terminal is a simple utility that answers one question:
26+
rustix-is-terminal is a simple utility that answers one question:
2727

2828
> Is this a terminal?
2929
@@ -50,7 +50,7 @@ passed to it, in accordance with [I/O safety].
5050
## Example
5151

5252
```rust
53-
use is_terminal::IsTerminal;
53+
use rustix_is_terminal::IsTerminal;
5454

5555
fn main() {
5656
if std::io::stdout().is_terminal() {

examples/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use is_terminal::IsTerminal;
1+
use rustix_is_terminal::IsTerminal;
22

33
fn main() {
44
println!("stdin? {}", std::io::stdin().is_terminal());

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub trait IsTerminal {
4343
/// # Example
4444
///
4545
/// ```
46-
/// use is_terminal::IsTerminal;
46+
/// use rustix_is_terminal::IsTerminal;
4747
///
4848
/// if std::io::stdout().is_terminal() {
4949
/// println!("stdout is a terminal")
@@ -61,7 +61,7 @@ pub trait IsTerminal {
6161
/// # Example
6262
///
6363
/// ```
64-
/// if is_terminal::is_terminal(&std::io::stdout()) {
64+
/// if rustix_is_terminal::is_terminal(&std::io::stdout()) {
6565
/// println!("stdout is a terminal")
6666
/// }
6767
/// ```

0 commit comments

Comments
 (0)