aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.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/dom/htmlcollection.rs
parent7f935f010b356df23c2cf5737021880b30e6c76d (diff)
downloadservo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.tar.gz
servo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.zip
Fix existing syntactics nits.
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index 88414aa6a84..fcf9de175f8 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -26,7 +26,7 @@ pub trait CollectionFilter : JSTraceable {
#[must_root]
pub enum CollectionTypeId {
Static(Vec<JS<Element>>),
- Live(JS<Node>, Box<CollectionFilter+'static>)
+ Live(JS<Node>, Box<CollectionFilter + 'static>)
}
#[dom_struct]
@@ -53,7 +53,7 @@ impl HTMLCollection {
impl HTMLCollection {
pub fn create(window: &Window, root: &Node,
- filter: Box<CollectionFilter+'static>) -> Root<HTMLCollection> {
+ filter: Box<CollectionFilter + 'static>) -> Root<HTMLCollection> {
HTMLCollection::new(window, CollectionTypeId::Live(JS::from_ref(root), filter))
}