1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 17:27:18 +02:00

improve typed header macro

This commit is contained in:
Rob Ede
2021-12-01 20:17:06 +00:00
parent 2f9c97461a
commit a75212695a
28 changed files with 77 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
use super::{EntityTag, IF_MATCH};
use super::{common_header, EntityTag, IF_MATCH};
crate::http::header::common_header! {
common_header! {
/// `If-Match` header, defined
/// in [RFC 7232 §3.1](https://datatracker.ietf.org/doc/html/rfc7232#section-3.1)
///
@@ -17,7 +17,7 @@ crate::http::header::common_header! {
/// there have been any changes to the representation data.
///
/// # ABNF
/// ```text
/// ```plain
/// If-Match = "*" / 1#entity-tag
/// ```
///