Skip to content

Commit

Permalink
docs: Remove explicit auto deref from PrivateCookieJar example (#2028)
Browse files Browse the repository at this point in the history
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
  • Loading branch information
tyilo and davidpdrsn committed Jul 16, 2023
1 parent 16b6388 commit cf83028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum-extra/src/extract/cookie/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ use std::{convert::Infallible, fmt, marker::PhantomData};
/// type Target = InnerState;
///
/// fn deref(&self) -> &Self::Target {
/// &*self.0
/// &self.0
/// }
/// }
///
Expand Down

0 comments on commit cf83028

Please sign in to comment.