From 8b640477aa58dd0884bc92e95a5455b0ccf78b1c Mon Sep 17 00:00:00 2001 From: Aaron Taner Date: Mon, 22 Feb 2021 15:22:05 +0800 Subject: [PATCH] doc: fix typos --- 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 ebcbce646f1..e715f9de3d1 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 dc500f2f281..978062eb2b0 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`]. ///