From b54b9d43385eafcf3fe609949e20f885f5d62db1 Mon Sep 17 00:00:00 2001 From: CMelz Date: Wed, 18 Dec 2024 20:33:21 +0800 Subject: [PATCH] codec: fix typo in API documentation (#7044) --- tokio-util/src/codec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/src/codec/mod.rs b/tokio-util/src/codec/mod.rs index 50f01c28fa7..11f44133e69 100644 --- a/tokio-util/src/codec/mod.rs +++ b/tokio-util/src/codec/mod.rs @@ -224,7 +224,7 @@ //! The main method on the `Encoder` trait is the [`encode`] method. This method //! takes an item that is being written, and a buffer to write the item to. The //! buffer may already contain data, and in this case, the encoder should append -//! the new frame the to buffer rather than overwrite the existing data. +//! the new frame to the buffer rather than overwrite the existing data. //! //! It is guaranteed that, from one call to `encode` to another, the provided //! buffer will contain the exact same data as before, except that some of the