move name implementation as default implementation to the trait and remove overrides.

This commit is contained in:
toidiu 2017-09-03 16:30:48 -04:00
parent a3df0cf4de
commit 99e4504f85
13 changed files with 1 additions and 45 deletions

View file

@ -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) {