Skip to content

Commit b54b9d4

Browse files
authored
codec: fix typo in API documentation (#7044)
1 parent 10e23d1 commit b54b9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-util/src/codec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
//! The main method on the `Encoder` trait is the [`encode`] method. This method
225225
//! takes an item that is being written, and a buffer to write the item to. The
226226
//! buffer may already contain data, and in this case, the encoder should append
227-
//! the new frame the to buffer rather than overwrite the existing data.
227+
//! the new frame to the buffer rather than overwrite the existing data.
228228
//!
229229
//! It is guaranteed that, from one call to `encode` to another, the provided
230230
//! buffer will contain the exact same data as before, except that some of the

0 commit comments

Comments
 (0)