Skip to content

Commit

Permalink
fix some typos (#2744)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Ede <robjtede@icloud.com>
  • Loading branch information
cuishuang and robjtede committed Apr 24, 2022
1 parent b1c85ba commit 6a5b370
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion actix-web/Cargo.toml
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion actix-web/src/types/either.rs
Expand Up @@ -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.
///
Expand Down
2 changes: 1 addition & 1 deletion awc/src/builder.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 6a5b370

Please sign in to comment.