mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Elide most 'b lifetimes
This commit is contained in:
parent
54c036cd66
commit
2e02ea38fc
4 changed files with 6 additions and 6 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue