diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-08-13 19:06:47 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-08-16 10:30:43 -0400 |
commit | 8bb853f64354b2cc1b9f9e0ea416efdd79096418 (patch) | |
tree | 3d369b7310e24d25d49939de67fd9a7371675e56 /components/script/dom/servohtmlparser.rs | |
parent | 7f935f010b356df23c2cf5737021880b30e6c76d (diff) | |
download | servo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.tar.gz servo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.zip |
Fix existing syntactics nits.
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
-rw-r--r-- | components/script/dom/servohtmlparser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/servohtmlparser.rs b/components/script/dom/servohtmlparser.rs index c14603df876..e979e3f6610 100644 --- a/components/script/dom/servohtmlparser.rs +++ b/components/script/dom/servohtmlparser.rs @@ -63,13 +63,13 @@ pub struct ParserContext { /// The subpage associated with this document. subpage: Option<SubpageId>, /// The target event loop for the response notifications. - script_chan: Box<ScriptChan+Send>, + script_chan: Box<ScriptChan + Send>, /// The URL for this document. url: Url, } impl ParserContext { - pub fn new(id: PipelineId, subpage: Option<SubpageId>, script_chan: Box<ScriptChan+Send>, + pub fn new(id: PipelineId, subpage: Option<SubpageId>, script_chan: Box<ScriptChan + Send>, url: Url) -> ParserContext { ParserContext { parser: RefCell::new(None), |