diff --git a/README.md b/README.md index 7c5ed0d..4249f95 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ of `libc` in its implementation. This allows it to support `no_std` on
-is-terminal is a simple utility that answers one question: +rustix-is-terminal is a simple utility that answers one question: > Is this a terminal? @@ -50,7 +50,7 @@ passed to it, in accordance with [I/O safety]. ## Example ```rust -use is_terminal::IsTerminal; +use rustix_is_terminal::IsTerminal; fn main() { if std::io::stdout().is_terminal() { diff --git a/examples/stdio.rs b/examples/stdio.rs index f895635..d86272e 100644 --- a/examples/stdio.rs +++ b/examples/stdio.rs @@ -1,4 +1,4 @@ -use is_terminal::IsTerminal; +use rustix_is_terminal::IsTerminal; fn main() { println!("stdin? {}", std::io::stdin().is_terminal()); diff --git a/src/lib.rs b/src/lib.rs index 4842315..fa7b41f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ pub trait IsTerminal { /// # Example /// /// ``` - /// use is_terminal::IsTerminal; + /// use rustix_is_terminal::IsTerminal; /// /// if std::io::stdout().is_terminal() { /// println!("stdout is a terminal") @@ -61,7 +61,7 @@ pub trait IsTerminal { /// # Example /// /// ``` -/// if is_terminal::is_terminal(&std::io::stdout()) { +/// if rustix_is_terminal::is_terminal(&std::io::stdout()) { /// println!("stdout is a terminal") /// } /// ```