diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-05 04:06:28 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-05 04:06:28 -0500 |
commit | 1117fff612703ac07f081c0801f1f225932936b1 (patch) | |
tree | 02f8c116123d26f8faf861689f2f48c23e6f215f | |
parent | 7c17af75db682300e91b1d23f73cb282bf836d03 (diff) | |
download | ttyrec-1117fff612703ac07f081c0801f1f225932936b1.tar.gz ttyrec-1117fff612703ac07f081c0801f1f225932936b1.zip |
fix docs
-rw-r--r-- | src/reader.rs | 4 | ||||
-rw-r--r-- | src/writer.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/reader.rs b/src/reader.rs index 4939eb9..3d963f1 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -1,6 +1,6 @@ use futures_lite::io::AsyncReadExt as _; -/// Reads ttyrec frames from a [`futures::io::AsyncRead`] instance. +/// Reads ttyrec frames from a [`futures_lite::io::AsyncRead`] instance. pub struct Reader<T: futures_lite::io::AsyncRead> { input: T, parser: crate::Parser, @@ -8,7 +8,7 @@ pub struct Reader<T: futures_lite::io::AsyncRead> { } impl<T: futures_lite::io::AsyncRead + std::marker::Unpin + Send> Reader<T> { - /// Creates a new [`Reader`](Self) from a [`futures::io::AsyncRead`] + /// Creates a new [`Reader`](Self) from a [`futures_lite::io::AsyncRead`] /// instance. pub fn new(input: T) -> Self { Self { diff --git a/src/writer.rs b/src/writer.rs index 0a94586..9eb3aaa 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -1,13 +1,13 @@ use futures_lite::io::AsyncWriteExt as _; -/// Writes ttyrec frames to a [`futures::io::AsyncWrite`] instance. +/// Writes ttyrec frames to a [`futures_lite::io::AsyncWrite`] instance. pub struct Writer<T: futures_lite::io::AsyncWrite> { output: T, creator: crate::Creator, } impl<T: futures_lite::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> { - /// Creates a new [`Writer`](Self) from a [`futures::io::AsyncWrite`] + /// Creates a new [`Writer`](Self) from a [`futures_lite::io::AsyncWrite`] /// instance. pub fn new(output: T) -> Self { Self { |