Skip to content

Commit 635334a

Browse files
committed
fix docs, bump version
1 parent 92c89af commit 635334a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-io-typed"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
description = "Adapts any AsyncRead or AsyncWrite type to send serde compatible types"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn bincode_options(size_limit: u64) -> impl Options {
167167
.reject_trailing_bytes()
168168
}
169169

170-
/// Provides the ability to read `serde` compatible types from any type that implements `tokio::io::AsyncRead`.
170+
/// Provides the ability to read `serde` compatible types from any type that implements `futures::io::AsyncRead`.
171171
#[derive(Debug)]
172172
pub struct AsyncReadTyped<R, T: Serialize + DeserializeOwned + Unpin> {
173173
raw: R,
@@ -380,7 +380,7 @@ enum LenReadMode {
380380
U64,
381381
}
382382

383-
/// Provides the ability to write `serde` compatible types to any type that implements `tokio::io::AsyncWrite`.
383+
/// Provides the ability to write `serde` compatible types to any type that implements `futures::io::AsyncWrite`.
384384
#[derive(Debug)]
385385
pub struct AsyncWriteTyped<W: AsyncWrite + Unpin, T: Serialize + DeserializeOwned + Unpin> {
386386
raw: Option<W>,

0 commit comments

Comments
 (0)