From a53c944b24f690adc74d5f09ab47a2e6efe1ca52 Mon Sep 17 00:00:00 2001 From: murongshaozong Date: Tue, 13 Aug 2024 15:07:40 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: murongshaozong --- src/blocking/body.rs | 2 +- src/dns/hickory.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blocking/body.rs b/src/blocking/body.rs index dd44c6fa2..4782b368c 100644 --- a/src/blocking/body.rs +++ b/src/blocking/body.rs @@ -296,7 +296,7 @@ async fn send_future(sender: Sender) -> Result<(), crate::Error> { // // We need to know whether there is any data to send before // we check the transmission channel (with poll_ready below) - // because somestimes the receiver disappears as soon as is + // because sometimes the receiver disappears as soon as is // considers the data is completely transmitted, which may // be true. // diff --git a/src/dns/hickory.rs b/src/dns/hickory.rs index dd9ab877b..44b943827 100644 --- a/src/dns/hickory.rs +++ b/src/dns/hickory.rs @@ -49,7 +49,7 @@ impl Iterator for SocketAddrs { /// Create a new resolver with the default configuration, /// which reads from `/etc/resolve.conf`. The options are -/// overriden to look up for both IPv4 and IPv6 addresses +/// overridden to look up for both IPv4 and IPv6 addresses /// to work with "happy eyeballs" algorithm. fn new_resolver() -> io::Result { let (config, mut opts) = system_conf::read_system_conf().map_err(|e| {