fix some typos

Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
cuishuang 2022-04-24 17:54:34 +08:00
parent b1c85ba85b
commit 541ebf8a11
3 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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.
///

View File

@ -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 .
///
/// # Panics
/// Panics if header name or value is invalid.