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

@ -117,8 +117,6 @@ impl ImageResponseHandlerRunnable {
}
impl Runnable for ImageResponseHandlerRunnable {
fn name(&self) -> &'static str { "ImageResponseHandlerRunnable" }
fn handler(self: Box<Self>) {
let element = self.element.root();
// Ignore any image response for a previous request that has been discarded.