mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
move name implementation as default implementation to the trait and remove overrides.
This commit is contained in:
parent
a3df0cf4de
commit
99e4504f85
13 changed files with 1 additions and 45 deletions
|
@ -89,8 +89,6 @@ pub struct DetailsNotificationRunnable {
|
|||
}
|
||||
|
||||
impl Runnable for DetailsNotificationRunnable {
|
||||
fn name(&self) -> &'static str { "DetailsNotificationRunnable" }
|
||||
|
||||
fn handler(self: Box<DetailsNotificationRunnable>) {
|
||||
let target = self.element.root();
|
||||
if target.check_toggle_count(self.toggle_number) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue