mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
cargo fix --edition-idioms
This commit is contained in:
@@ -547,8 +547,8 @@ impl HTMLIFrameElementMethods for HTMLIFrameElement {
|
||||
}
|
||||
|
||||
impl VirtualMethods for HTMLIFrameElement {
|
||||
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