1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-21 21:25:36 +02:00

improve typed header macro (#2481)

This commit is contained in:
Rob Ede
2021-12-02 15:25:39 +00:00
committed by GitHub
parent 075d871e63
commit 2a72bdae09
29 changed files with 147 additions and 100 deletions

View File

@@ -8,7 +8,7 @@ use crate::{
helpers::MutWriter,
};
/// A timestamp with HTTP formatting and parsing.
/// A timestamp with HTTP-style formatting and parsing.
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct HttpDate(SystemTime);