diff options
author | Daan Sprenkels <dsprenkels@gmail.com> | 2016-10-30 21:50:57 +0100 |
---|---|---|
committer | Daan Sprenkels <dsprenkels@gmail.com> | 2016-10-31 18:11:37 +0100 |
commit | 66059904b74a4dacbec8393d639d69cfd9011ea7 (patch) | |
tree | fbdff7eaefbe1a5918851b24b37c8cdf50a61874 /components/net | |
parent | 179e11ad8d834dbbc4fc14209ce0c9b169085df4 (diff) | |
download | servo-66059904b74a4dacbec8393d639d69cfd9011ea7.tar.gz servo-66059904b74a4dacbec8393d639d69cfd9011ea7.zip |
Remove extra spaces in function calls and declarations
Diffstat (limited to 'components/net')
-rw-r--r-- | components/net/bluetooth_thread.rs | 2 | ||||
-rw-r--r-- | components/net/fetch/cors_cache.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/net/bluetooth_thread.rs b/components/net/bluetooth_thread.rs index efdeb02d7b2..bb71b27469b 100644 --- a/components/net/bluetooth_thread.rs +++ b/components/net/bluetooth_thread.rs @@ -162,7 +162,7 @@ pub struct BluetoothManager { } impl BluetoothManager { - pub fn new (receiver: IpcReceiver<BluetoothMethodMsg>, adapter: Option<BluetoothAdapter>) -> BluetoothManager { + pub fn new(receiver: IpcReceiver<BluetoothMethodMsg>, adapter: Option<BluetoothAdapter>) -> BluetoothManager { BluetoothManager { receiver: receiver, adapter: adapter, 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() && |