From a68c336e55ff0246a8846bb346243559583f1ca4 Mon Sep 17 00:00:00 2001 From: Dominic Cooney Date: Sat, 22 May 2021 23:31:01 +0900 Subject: [PATCH] `mach fmt` after updating toolchain to 2021-05-18 Signed-off-by: Dominic Cooney --- components/net/http_cache.rs | 4 ++-- 1 file 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::() { let current = time::now().to_timespec();