aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlscriptelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r--components/script/dom/htmlscriptelement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs
index 4211a530c9e..2c3faa899bd 100644
--- a/components/script/dom/htmlscriptelement.rs
+++ b/components/script/dom/htmlscriptelement.rs
@@ -1254,7 +1254,7 @@ impl VirtualMethods for HTMLScriptElement {
}
fn children_changed(&self, mutation: &ChildrenMutation) {
- if let Some(ref s) = self.super_type() {
+ if let Some(s) = self.super_type() {
s.children_changed(mutation);
}
if !self.parser_inserted.get() && self.upcast::<Node>().is_connected() {
@@ -1263,7 +1263,7 @@ impl VirtualMethods for HTMLScriptElement {
}
fn bind_to_tree(&self, context: &BindContext) {
- if let Some(ref s) = self.super_type() {
+ if let Some(s) = self.super_type() {
s.bind_to_tree(context);
}
@@ -1281,7 +1281,7 @@ impl VirtualMethods for HTMLScriptElement {
maybe_doc: Option<&Document>,
clone_children: CloneChildrenFlag,
) {
- if let Some(ref s) = self.super_type() {
+ if let Some(s) = self.super_type() {
s.cloning_steps(copy, maybe_doc, clone_children);
}