diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-03-26 12:34:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 12:34:25 -0400 |
commit | f46e39c5c5435696daab9df075482e6e5c83533b (patch) | |
tree | 7699e06977e1149b5d056739f981c0217a91ed5e /cli/http_cache.rs | |
parent | 6c6f3e87c1a60bc96d006812a670212eeacd1257 (diff) |
remove macro_use (#9884)
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; |