mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove extra spaces in function calls and declarations
This commit is contained in:
parent
179e11ad8d
commit
66059904b7
7 changed files with 14 additions and 14 deletions
|
@ -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,
|
||||
|
|
|
@ -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() &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue