aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlheadelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlheadelement.rs')
-rw-r--r--components/script/dom/htmlheadelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlheadelement.rs b/components/script/dom/htmlheadelement.rs
index c3aa6812062..89834cde5fc 100644
--- a/components/script/dom/htmlheadelement.rs
+++ b/components/script/dom/htmlheadelement.rs
@@ -78,8 +78,8 @@ impl HTMLHeadElement {
}
impl VirtualMethods for HTMLHeadElement {
- fn super_type(&self) -> Option<&VirtualMethods> {
- Some(self.upcast::<HTMLElement>() as &VirtualMethods)
+ fn super_type(&self) -> Option<&dyn VirtualMethods> {
+ Some(self.upcast::<HTMLElement>() as &dyn VirtualMethods)
}
fn bind_to_tree(&self, tree_in_doc: bool) {
if let Some(ref s) = self.super_type() {