From 6a5b37020676fdfed4b8c7466d8542904bca825c Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 25 Apr 2022 06:01:20 +0800 Subject: [PATCH] fix some typos (#2744) Co-authored-by: Rob Ede --- actix-web/Cargo.toml | 2 +- actix-web/src/types/either.rs | 2 +- awc/src/builder.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actix-web/Cargo.toml b/actix-web/Cargo.toml index 7793fd8be..702fd6743 100644 --- a/actix-web/Cargo.toml +++ b/actix-web/Cargo.toml @@ -59,7 +59,7 @@ rustls = ["actix-http/rustls", "actix-tls/accept", "actix-tls/rustls"] # Don't rely on these whatsoever. They may disappear at anytime. __compress = [] -# io-uring feature only avaiable for Linux OSes. +# io-uring feature only available for Linux OSes. experimental-io-uring = ["actix-server/io-uring"] [dependencies] diff --git a/actix-web/src/types/either.rs b/actix-web/src/types/either.rs index 0eafb9e43..c0faf04b1 100644 --- a/actix-web/src/types/either.rs +++ b/actix-web/src/types/either.rs @@ -49,7 +49,7 @@ use crate::{ /// ``` /// /// # Responder -/// It may be desireable to use a concrete type for a response with multiple branches. As long as +/// It may be desirable to use a concrete type for a response with multiple branches. As long as /// both types implement `Responder`, so will the `Either` type, enabling it to be used as a /// handler's return type. /// diff --git a/awc/src/builder.rs b/awc/src/builder.rs index 16a4e9cb5..c101d18f0 100644 --- a/awc/src/builder.rs +++ b/awc/src/builder.rs @@ -165,7 +165,7 @@ where /// Add default header. /// - /// Headers added by this method get added to every request unless overriden by . + /// Headers added by this method get added to every request unless overridden by other methods. /// /// # Panics /// Panics if header name or value is invalid.