From ea6eb81d6fea0367a17afa5f3655cb31cc0dab99 Mon Sep 17 00:00:00 2001 From: avdb <60188643+avdb13@users.noreply.github.com> Date: Thu, 8 Dec 2022 19:50:59 +0200 Subject: [PATCH] Typo fixes (#1628) --- axum-extra/src/extract/cookie/mod.rs | 2 +- axum-extra/src/extract/cookie/private.rs | 2 +- axum-extra/src/extract/cookie/signed.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/axum-extra/src/extract/cookie/mod.rs b/axum-extra/src/extract/cookie/mod.rs index 0c6bcc4c..ca05c836 100644 --- a/axum-extra/src/extract/cookie/mod.rs +++ b/axum-extra/src/extract/cookie/mod.rs @@ -114,7 +114,7 @@ impl CookieJar { /// /// The cookies in `headers` will be added to the jar. /// - /// This is inteded to be used in middleware and other places where it might be difficult to + /// This is intended to be used in middleware and other places where it might be difficult to /// run extractors. Normally you should create `CookieJar`s through [`FromRequestParts`]. /// /// [`FromRequestParts`]: axum::extract::FromRequestParts diff --git a/axum-extra/src/extract/cookie/private.rs b/axum-extra/src/extract/cookie/private.rs index aebf1cf4..bd7f17fa 100644 --- a/axum-extra/src/extract/cookie/private.rs +++ b/axum-extra/src/extract/cookie/private.rs @@ -148,7 +148,7 @@ impl PrivateCookieJar { /// /// The valid cookies in `headers` will be added to the jar. /// - /// This is inteded to be used in middleware and other where places it might be difficult to + /// This is intended to be used in middleware and other where places it might be difficult to /// run extractors. Normally you should create `PrivateCookieJar`s through [`FromRequestParts`]. /// /// [`FromRequestParts`]: axum::extract::FromRequestParts diff --git a/axum-extra/src/extract/cookie/signed.rs b/axum-extra/src/extract/cookie/signed.rs index 462c65a1..5f26b9c5 100644 --- a/axum-extra/src/extract/cookie/signed.rs +++ b/axum-extra/src/extract/cookie/signed.rs @@ -165,7 +165,7 @@ impl SignedCookieJar { /// /// The valid cookies in `headers` will be added to the jar. /// - /// This is inteded to be used in middleware and other places where it might be difficult to + /// This is intended to be used in middleware and other places where it might be difficult to /// run extractors. Normally you should create `SignedCookieJar`s through [`FromRequestParts`]. /// /// [`FromRequestParts`]: axum::extract::FromRequestParts