Minor style improvements
This commit is contained in:
parent
4eeb280f0d
commit
e569bdb416
2 changed files with 15 additions and 22 deletions
|
|
@ -68,8 +68,7 @@ impl<L: 'static, B: 'static, SR: 'static, Rs: Hash + Eq + 'static, As: 'static>
|
|||
resources.insert(storable_resource, future.clone());
|
||||
drop(resources);
|
||||
trace!(logger, "Resource already added");
|
||||
let (t, did_run) = future.await;
|
||||
Ok((t, did_run))
|
||||
Ok(future.await)
|
||||
} else {
|
||||
let inner_weak = Rc::downgrade(&self.0);
|
||||
let logger_weak = Rc::downgrade(logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue