Skip to content

Commit

Permalink
codec: fix typo in the docs for Encoder::Error (#6800)
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamofek committed Aug 27, 2024
1 parent cc70a21 commit c9fad08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-util/src/codec/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub trait Encoder<Item> {
/// The type of encoding errors.
///
/// [`FramedWrite`] requires `Encoder`s errors to implement `From<io::Error>`
/// in the interest letting it return `Error`s directly.
/// in the interest of letting it return `Error`s directly.
///
/// [`FramedWrite`]: crate::codec::FramedWrite
type Error: From<io::Error>;
Expand Down

0 comments on commit c9fad08

Please sign in to comment.