From 00078e3889a9894832994adee9e275683ba6d030 Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Mon, 26 Aug 2024 14:51:58 +0000 Subject: [PATCH] Fix typo in the docs for `Encoder::Error` --- 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 770a10fa9b5..4b40de4aa3a 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;