From c9fad0846667c86d96ec151354229f2833fd9e1b Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Tue, 27 Aug 2024 10:08:22 +0300 Subject: [PATCH] codec: fix typo in the docs for `Encoder::Error` (#6800) --- tokio-util/src/codec/encoder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/src/codec/encoder.rs b/tokio-util/src/codec/encoder.rs index 770a10fa9..4b40de4aa 100644 --- a/tokio-util/src/codec/encoder.rs +++ b/tokio-util/src/codec/encoder.rs @@ -9,7 +9,7 @@ pub trait Encoder { /// The type of encoding errors. /// /// [`FramedWrite`] requires `Encoder`s errors to implement `From` - /// 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;