Elide most 'b lifetimes

This commit is contained in:
Manish Goregaokar 2015-09-04 09:02:12 +05:30
parent 54c036cd66
commit 2e02ea38fc
4 changed files with 6 additions and 6 deletions

View file

@ -13,8 +13,8 @@ use dom::node::Node;
use dom::virtualmethods::vtable_for;
// See https://dom.spec.whatwg.org/#concept-event-dispatch for the full dispatch algorithm
pub fn dispatch_event<'b>(target: &EventTarget,
pseudo_target: Option<&'b EventTarget>,
pub fn dispatch_event(target: &EventTarget,
pseudo_target: Option<&EventTarget>,
event: &Event) -> bool {
assert!(!event.dispatching());
assert!(event.initialized());