Skip to content

Commit 6a5b370

Browse files
cuishuangrobjtede
andauthored
fix some typos (#2744)
Co-authored-by: Rob Ede <[email protected]>
1 parent b1c85ba commit 6a5b370

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

actix-web/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ rustls = ["actix-http/rustls", "actix-tls/accept", "actix-tls/rustls"]
5959
# Don't rely on these whatsoever. They may disappear at anytime.
6060
__compress = []
6161

62-
# io-uring feature only avaiable for Linux OSes.
62+
# io-uring feature only available for Linux OSes.
6363
experimental-io-uring = ["actix-server/io-uring"]
6464

6565
[dependencies]

actix-web/src/types/either.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use crate::{
4949
/// ```
5050
///
5151
/// # Responder
52-
/// It may be desireable to use a concrete type for a response with multiple branches. As long as
52+
/// It may be desirable to use a concrete type for a response with multiple branches. As long as
5353
/// both types implement `Responder`, so will the `Either` type, enabling it to be used as a
5454
/// handler's return type.
5555
///

awc/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ where
165165

166166
/// Add default header.
167167
///
168-
/// Headers added by this method get added to every request unless overriden by .
168+
/// Headers added by this method get added to every request unless overridden by other methods.
169169
///
170170
/// # Panics
171171
/// Panics if header name or value is invalid.

0 commit comments

Comments
 (0)