From 36b8a7602a5d77cefb78a2543928c3a9228ed35e Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 4 Feb 2022 20:23:01 +0000 Subject: [PATCH] hide write_date_header --- actix-http/CHANGES.md | 1 - actix-http/src/config.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index 3beb84e23..c28013853 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -3,7 +3,6 @@ ## Unreleased - 2021-xx-xx ### Added - Implement `From>` for `Response>`. [#2625] -- Expose `ServiceConfig::write_date_header`. [#2625] ### Changed - `error::DispatcherError` enum is now marked `#[non_exhaustive]`. [#2624] diff --git a/actix-http/src/config.rs b/actix-http/src/config.rs index 522c5a023..ac95a2802 100644 --- a/actix-http/src/config.rs +++ b/actix-http/src/config.rs @@ -108,6 +108,7 @@ impl ServiceConfig { /// /// Low-level method that utilizes the built-in efficient date service, requiring fewer syscalls /// than normal. Note that a CRLF (`\r\n`) is included in what is written. + #[doc(hidden)] pub fn write_date_header(&self, dst: &mut BytesMut, camel_case: bool) { let mut buf: [u8; 37] = [0; 37];