diff options
author | Dominic Cooney <dominic.cooney@gmail.com> | 2021-05-22 23:31:01 +0900 |
---|---|---|
committer | Dominic Cooney <dominic.cooney@gmail.com> | 2021-05-22 23:31:01 +0900 |
commit | a68c336e55ff0246a8846bb346243559583f1ca4 (patch) | |
tree | 7aacb3577e4add7428c03ce75916dd44999ba3c7 | |
parent | 7d997748da14e1b5b64ea92b8fbeab123a1268c9 (diff) | |
download | servo-a68c336e55ff0246a8846bb346243559583f1ca4.tar.gz servo-a68c336e55ff0246a8846bb346243559583f1ca4.zip |
`mach fmt` after updating toolchain to 2021-05-18
Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
-rw-r--r-- | components/net/http_cache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/http_cache.rs b/components/net/http_cache.rs index 81109df2bda..a743a05cdde 100644 --- a/components/net/http_cache.rs +++ b/components/net/http_cache.rs @@ -230,8 +230,8 @@ fn get_response_expiry(response: &Response) -> Duration { let max_heuristic = Duration::hours(24) - age; let heuristic_freshness = if let Some(last_modified) = // If the response has a Last-Modified header field, - // caches are encouraged to use a heuristic expiration value - // that is no more than some fraction of the interval since that time. + // caches are encouraged to use a heuristic expiration value + // that is no more than some fraction of the interval since that time. response.headers.typed_get::<LastModified>() { let current = time::now().to_timespec(); |