From 52457dcf5b5015f650c7f3b9575eb9d4234f837f Mon Sep 17 00:00:00 2001 From: xlUp Date: Mon, 22 Feb 2021 16:31:45 +0800 Subject: [PATCH] doc: fix typos (#3541) Co-authored-by: Aaron Taner --- tokio/src/io/util/async_read_ext.rs | 2 +- tokio/src/io/util/async_write_ext.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/io/util/async_read_ext.rs b/tokio/src/io/util/async_read_ext.rs index ebcbce646..e715f9de3 100644 --- a/tokio/src/io/util/async_read_ext.rs +++ b/tokio/src/io/util/async_read_ext.rs @@ -35,7 +35,7 @@ cfg_io_util! { /// Reads bytes from a source. /// - /// Implemented as an extention trait, adding utility methods to all + /// Implemented as an extension trait, adding utility methods to all /// [`AsyncRead`] types. Callers will tend to import this trait instead of /// [`AsyncRead`]. /// diff --git a/tokio/src/io/util/async_write_ext.rs b/tokio/src/io/util/async_write_ext.rs index dc500f2f2..978062eb2 100644 --- a/tokio/src/io/util/async_write_ext.rs +++ b/tokio/src/io/util/async_write_ext.rs @@ -35,7 +35,7 @@ cfg_io_util! { /// Writes bytes to a sink. /// - /// Implemented as an extention trait, adding utility methods to all + /// Implemented as an extension trait, adding utility methods to all /// [`AsyncWrite`] types. Callers will tend to import this trait instead of /// [`AsyncWrite`]. ///