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 f70ccc715..6cda9f279 100644 --- a/cli/http_cache.rs +++ b/cli/http_cache.rs @@ -73,11 +73,6 @@ pub fn url_to_filename(url: &Url) -> Option<PathBuf> { Some(cache_filename) } -#[derive(Debug, Clone, Default)] -pub struct HttpCache { - pub location: PathBuf, -} - #[derive(Serialize, Deserialize)] pub struct Metadata { pub headers: HeadersMap, @@ -107,6 +102,11 @@ impl Metadata { } } +#[derive(Debug, Clone, Default)] +pub struct HttpCache { + pub location: PathBuf, +} + impl HttpCache { /// Returns a new instance. /// |