From 817bbeeb9eb5705f289b5e200cd0210177ab4245 Mon Sep 17 00:00:00 2001 From: maxtaran2010 Date: Fri, 10 Jul 2026 00:52:54 +0300 Subject: [PATCH] Fix typos in comments and documentation Co-Authored-By: Claude Sonnet 4.6 --- src/proto/h1/conn.rs | 2 +- src/proto/h1/io.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proto/h1/conn.rs b/src/proto/h1/conn.rs index dfcadcee56..408132d07c 100644 --- a/src/proto/h1/conn.rs +++ b/src/proto/h1/conn.rs @@ -911,7 +911,7 @@ impl Unpin for Conn {} struct State { allow_half_close: bool, - /// Re-usable `HeaderMap` to reduce allocating new ones. + /// Reusable `HeaderMap` to reduce allocating new ones. cached_headers: Option, /// If an error occurs when there wasn't a direct way to return it /// back to the user, this is set. diff --git a/src/proto/h1/io.rs b/src/proto/h1/io.rs index 2aeabc7c60..6206c81c8f 100644 --- a/src/proto/h1/io.rs +++ b/src/proto/h1/io.rs @@ -512,7 +512,7 @@ impl> Buf for Cursor { // an internal buffer to collect writes before flushes pub(super) struct WriteBuf { - /// Re-usable buffer that holds message headers. + /// Reusable buffer that holds message headers. headers: Cursor>, max_buf_size: usize, /// Deque of user buffers if strategy is `Queue`.