aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-03-08 12:26:11 -0500
committerJesse Luehrs <doy@tozt.net>2023-03-08 12:26:11 -0500
commit0655a8bffd0534b687b1c9b1667030b5dee69b5f (patch)
treee23179c66323d8515f37f38b7b90feb015656447
parentbe180762f1e59bc848766271c2bb4a5c8bde3620 (diff)
downloadttyrec-0655a8bffd0534b687b1c9b1667030b5dee69b5f.tar.gz
ttyrec-0655a8bffd0534b687b1c9b1667030b5dee69b5f.zip
fix docs
-rw-r--r--src/reader.rs4
-rw-r--r--src/writer.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/reader.rs b/src/reader.rs
index 0b0666b..44e6751 100644
--- a/src/reader.rs
+++ b/src/reader.rs
@@ -1,6 +1,6 @@
use tokio::io::AsyncReadExt as _;
-/// Reads ttyrec frames from a [`futures_lite::io::AsyncRead`] instance.
+/// Reads ttyrec frames from a [`tokio::io::AsyncRead`] instance.
pub struct Reader<T: tokio::io::AsyncRead> {
input: T,
parser: crate::Parser,
@@ -8,7 +8,7 @@ pub struct Reader<T: tokio::io::AsyncRead> {
}
impl<T: tokio::io::AsyncRead + std::marker::Unpin + Send> Reader<T> {
- /// Creates a new [`Reader`](Self) from a [`futures_lite::io::AsyncRead`]
+ /// Creates a new [`Reader`](Self) from a [`tokio::io::AsyncRead`]
/// instance.
pub fn new(input: T) -> Self {
Self {
diff --git a/src/writer.rs b/src/writer.rs
index 6e52db1..44a66e2 100644
--- a/src/writer.rs
+++ b/src/writer.rs
@@ -1,13 +1,13 @@
use tokio::io::AsyncWriteExt as _;
-/// Writes ttyrec frames to a [`futures_lite::io::AsyncWrite`] instance.
+/// Writes ttyrec frames to a [`tokio::io::AsyncWrite`] instance.
pub struct Writer<T: tokio::io::AsyncWrite> {
output: T,
creator: crate::Creator,
}
impl<T: tokio::io::AsyncWrite + std::marker::Unpin + Send> Writer<T> {
- /// Creates a new [`Writer`](Self) from a [`futures_lite::io::AsyncWrite`]
+ /// Creates a new [`Writer`](Self) from a [`tokio::io::AsyncWrite`]
/// instance.
pub fn new(output: T) -> Self {
Self {