aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/cors_cache.rs
diff options
context:
space:
mode:
authorDaan Sprenkels <dsprenkels@gmail.com>2016-10-30 21:50:57 +0100
committerDaan Sprenkels <dsprenkels@gmail.com>2016-10-31 18:11:37 +0100
commit66059904b74a4dacbec8393d639d69cfd9011ea7 (patch)
treefbdff7eaefbe1a5918851b24b37c8cdf50a61874 /components/net/fetch/cors_cache.rs
parent179e11ad8d834dbbc4fc14209ce0c9b169085df4 (diff)
downloadservo-66059904b74a4dacbec8393d639d69cfd9011ea7.tar.gz
servo-66059904b74a4dacbec8393d639d69cfd9011ea7.zip
Remove extra spaces in function calls and declarations
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() &&