aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.rs
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 /src/writer.rs
parentbe180762f1e59bc848766271c2bb4a5c8bde3620 (diff)
downloadttyrec-0655a8bffd0534b687b1c9b1667030b5dee69b5f.tar.gz
ttyrec-0655a8bffd0534b687b1c9b1667030b5dee69b5f.zip
fix docs
Diffstat (limited to 'src/writer.rs')
-rw-r--r--src/writer.rs4
1 files changed, 2 insertions, 2 deletions
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 {