docs(axum-extra): fix CookieJar request header guidance (#3847)

This commit is contained in:
Minh Vu
2026-08-03 00:22:41 +09:00
committed by GitHub
parent 01ac7372e3
commit a35916c63f
+2 -2
View File
@@ -143,8 +143,8 @@ impl CookieJar {
/// 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`].
///
/// If you need a jar that contains the headers from a request use `impl From<&HeaderMap> for
/// CookieJar`.
/// If you need a jar that contains the headers from a request, use
/// [`CookieJar::from_headers`].
///
/// [`FromRequestParts`]: axum::extract::FromRequestParts
pub fn new() -> Self {