mirror of
https://github.com/servo/servo
synced 2026-05-02 04:17:38 +02:00
cargo fix --edition-idioms
This commit is contained in:
@@ -108,8 +108,8 @@ impl HTMLBaseElementMethods for HTMLBaseElement {
|
||||
}
|
||||
|
||||
impl VirtualMethods for HTMLBaseElement {
|
||||
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