Remove extra spaces in function calls and declarations

This commit is contained in:
Daan Sprenkels 2016-10-30 21:50:57 +01:00
parent 179e11ad8d
commit 66059904b7
7 changed files with 14 additions and 14 deletions

View file

@ -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,

View file

@ -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() &&