aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-05 04:06:28 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-05 04:06:28 -0500
commit1117fff612703ac07f081c0801f1f225932936b1 (patch)
tree02f8c116123d26f8faf861689f2f48c23e6f215f /src
parent7c17af75db682300e91b1d23f73cb282bf836d03 (diff)
downloadttyrec-1117fff612703ac07f081c0801f1f225932936b1.tar.gz
ttyrec-1117fff612703ac07f081c0801f1f225932936b1.zip
fix docs
Diffstat (limited to 'src')
-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 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 {