diff --git a/src/event/stream.rs b/src/event/stream.rs index 4ca8a16..602d54a 100644 --- a/src/event/stream.rs +++ b/src/event/stream.rs @@ -24,8 +24,8 @@ use super::{ /// **This type is not available by default. You have to use the `event-stream` feature flag /// to make it available.** /// -/// It implements the [`futures::stream::Stream`](https://docs.rs/futures/0.3.1/futures/stream/trait.Stream.html) -/// trait and allows you to receive `Event`s with [`async-std`](https://crates.io/crates/async-std) +/// It implements the [Stream](futures_core::stream::Stream) +/// trait and allows you to receive [`Event`]s with [`async-std`](https://crates.io/crates/async-std) /// or [`tokio`](https://crates.io/crates/tokio) crates. /// /// Check the [examples](https://github.com/crossterm-rs/crossterm/tree/master/examples) folder to see how to use diff --git a/src/macros.rs b/src/macros.rs index ee587a7..ac102fe 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -16,7 +16,7 @@ macro_rules! csi { /// /// # Arguments /// -/// - [std::io::Writer](https://doc.rust-lang.org/std/io/trait.Write.html) +/// - [std::io::Writer](std::io::Write) /// /// ANSI escape codes are written on the given 'writer', after which they are flushed. /// @@ -70,7 +70,7 @@ macro_rules! queue { /// /// # Arguments /// -/// - [std::io::Writer](https://doc.rust-lang.org/std/io/trait.Write.html) +/// - [std::io::Writer](std::io::Write) /// /// ANSI escape codes are written on the given 'writer', after which they are flushed. ///