mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
cargo fix --edition-idioms
This commit is contained in:
@@ -708,8 +708,8 @@ impl HTMLScriptElement {
|
||||
}
|
||||
|
||||
impl VirtualMethods for HTMLScriptElement {
|
||||
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 attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {
|
||||
|
||||
Reference in New Issue
Block a user