mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-02 17:46:38 +02:00
Don't leak internal macros (#2290)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use super::{HttpDate, IF_MODIFIED_SINCE};
|
||||
|
||||
crate::__define_common_header! {
|
||||
crate::http::header::common_header! {
|
||||
/// `If-Modified-Since` header, defined in
|
||||
/// [RFC7232](http://tools.ietf.org/html/rfc7232#section-3.3)
|
||||
///
|
||||
@@ -36,6 +36,6 @@ crate::__define_common_header! {
|
||||
|
||||
test_if_modified_since {
|
||||
// Test case from RFC
|
||||
crate::__common_header_test!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);
|
||||
crate::http::header::common_header_test!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user