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];