From 91e3b4397a1637d0f55f23db712cf7bda0c7f891 Mon Sep 17 00:00:00 2001 From: Alex Sears Date: Mon, 11 Oct 2021 18:54:08 -0400 Subject: [PATCH] Fix 'observe' and 'retrieve' typos in cookie docs. --- core/lib/src/cookies.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/lib/src/cookies.rs b/core/lib/src/cookies.rs index 1ca41c6f..b8a378ca 100644 --- a/core/lib/src/cookies.rs +++ b/core/lib/src/cookies.rs @@ -194,7 +194,7 @@ impl<'a> CookieJar<'a> { /// Returns a reference to the _original_ `Cookie` inside this container /// with the name `name`. If no such cookie exists, returns `None`. /// - /// **Note:** This method _does not_ obverse changes made via additions and + /// **Note:** This method _does not_ observe changes made via additions and /// removals to the cookie jar. To observe those changes, use /// [`CookieJar::get_pending()`]. /// @@ -213,12 +213,12 @@ impl<'a> CookieJar<'a> { self.jar.get(name) } - /// Retrives the _original_ `Cookie` inside this collection with the name + /// Retrieves the _original_ `Cookie` inside this collection with the name /// `name` and authenticates and decrypts the cookie's value. If the cookie /// cannot be found, or the cookie fails to authenticate or decrypt, `None` /// is returned. /// - /// **Note:** This method _does not_ obverse changes made via additions and + /// **Note:** This method _does not_ observe changes made via additions and /// removals to the cookie jar. To observe those changes, use /// [`CookieJar::get_pending()`]. /// @@ -397,7 +397,7 @@ impl<'a> CookieJar<'a> { /// Returns an iterator over all of the _original_ cookies present in this /// collection. /// - /// **Note:** This method _does not_ obverse changes made via additions and + /// **Note:** This method _does not_ observe changes made via additions and /// removals to the cookie jar. /// /// # Example