aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/cors.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-08-13 19:06:47 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-08-16 10:30:43 -0400
commit8bb853f64354b2cc1b9f9e0ea416efdd79096418 (patch)
tree3d369b7310e24d25d49939de67fd9a7371675e56 /components/script/cors.rs
parent7f935f010b356df23c2cf5737021880b30e6c76d (diff)
downloadservo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.tar.gz
servo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.zip
Fix existing syntactics nits.
Diffstat (limited to 'components/script/cors.rs')
-rw-r--r--components/script/cors.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/cors.rs b/components/script/cors.rs
index 35111966fde..108f37790a3 100644
--- a/components/script/cors.rs
+++ b/components/script/cors.rs
@@ -106,10 +106,10 @@ impl CORSRequest {
}
pub fn http_fetch_async(&self,
- listener: Box<AsyncCORSResponseListener+Send>,
- script_chan: Box<ScriptChan+Send>) {
+ listener: Box<AsyncCORSResponseListener + Send>,
+ script_chan: Box<ScriptChan + Send>) {
struct CORSContext {
- listener: Box<AsyncCORSResponseListener+Send>,
+ listener: Box<AsyncCORSResponseListener + Send>,
response: RefCell<Option<CORSResponse>>,
}
@@ -341,7 +341,7 @@ pub struct CORSCacheEntry {
}
impl CORSCacheEntry {
- fn new(origin:Url,
+ fn new(origin: Url,
url: Url,
max_age: u32,
credentials: bool,