diff options
Diffstat (limited to 'cli/http_cache.rs')
-rw-r--r-- | cli/http_cache.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/http_cache.rs b/cli/http_cache.rs index e703ca05a..7eff2b9be 100644 --- a/cli/http_cache.rs +++ b/cli/http_cache.rs @@ -1,9 +1,8 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. - -/// This module is meant to eventually implement HTTP cache -/// as defined in RFC 7234 (https://tools.ietf.org/html/rfc7234). -/// Currently it's a very simplified version to fulfill Deno needs -/// at hand. +//! This module is meant to eventually implement HTTP cache +//! as defined in RFC 7234 (https://tools.ietf.org/html/rfc7234). +//! Currently it's a very simplified version to fulfill Deno needs +//! at hand. use crate::fs_util; use crate::http_util::HeadersMap; use deno_core::error::generic_error; @@ -12,6 +11,7 @@ use deno_core::serde::Deserialize; use deno_core::serde::Serialize; use deno_core::serde_json; use deno_core::url::Url; +use log::error; use std::fs; use std::fs::File; use std::io; |