Skip to content

Commit c9fad08

Browse files
authored
codec: fix typo in the docs for Encoder::Error (#6800)
1 parent cc70a21 commit c9fad08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-util/src/codec/encoder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub trait Encoder<Item> {
99
/// The type of encoding errors.
1010
///
1111
/// [`FramedWrite`] requires `Encoder`s errors to implement `From<io::Error>`
12-
/// in the interest letting it return `Error`s directly.
12+
/// in the interest of letting it return `Error`s directly.
1313
///
1414
/// [`FramedWrite`]: crate::codec::FramedWrite
1515
type Error: From<io::Error>;

0 commit comments

Comments
 (0)