mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Elide most 'a lifetimes
This commit is contained in:
parent
35dd1816a9
commit
54c036cd66
33 changed files with 126 additions and 126 deletions
|
@ -13,7 +13,7 @@ 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<'a, 'b>(target: &'a EventTarget,
|
||||
pub fn dispatch_event<'b>(target: &EventTarget,
|
||||
pseudo_target: Option<&'b EventTarget>,
|
||||
event: &Event) -> bool {
|
||||
assert!(!event.dispatching());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue