From 9ddd5ebdd82d42c2e312bf33e5448c58fe59d54a Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Thu, 1 Jun 2023 20:20:44 +0200 Subject: [PATCH] Remove explicit auto deref from PrivateCookieJar example --- axum-extra/src/extract/cookie/private.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-extra/src/extract/cookie/private.rs b/axum-extra/src/extract/cookie/private.rs index 381735f166..d82538b92d 100644 --- a/axum-extra/src/extract/cookie/private.rs +++ b/axum-extra/src/extract/cookie/private.rs @@ -91,7 +91,7 @@ use std::{convert::Infallible, fmt, marker::PhantomData}; /// type Target = InnerState; /// /// fn deref(&self) -> &Self::Target { -/// &*self.0 +/// &self.0 /// } /// } ///