aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/cors_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/fetch/cors_cache.rs')
-rw-r--r--components/net/fetch/cors_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/cors_cache.rs b/components/net/fetch/cors_cache.rs
index 8d494ab33c1..71d97dd36ce 100644
--- a/components/net/fetch/cors_cache.rs
+++ b/components/net/fetch/cors_cache.rs
@@ -94,7 +94,7 @@ impl CORSCache {
}
/// [Clear the cache](https://fetch.spec.whatwg.org/#concept-cache-clear)
- pub fn clear (&mut self, request: &Request) {
+ pub fn clear(&mut self, request: &Request) {
let CORSCache(buf) = self.clone();
let new_buf: Vec<CORSCacheEntry> =
buf.into_iter().filter(|e| e.origin == *request.origin.borrow() &&