Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: murongshaozong <netease163@icloud.com>
  • Loading branch information
murongshaozong authored and seanmonstar committed Aug 13, 2024
1 parent dd036db commit a53c944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blocking/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion src/dns/hickory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<TokioAsyncResolver> {
let (config, mut opts) = system_conf::read_system_conf().map_err(|e| {
Expand Down

0 comments on commit a53c944

Please sign in to comment.