File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ # Version 2.5.0
2+
3+ - Add ` EventListener::discard() ` .
4+
15# Version 2.4.0
26
37- ` Event::new() ` is now a const fn.
Original file line number Diff line number Diff line change 11[package ]
22name = " event-listener"
3- version = " 2.4 .0"
3+ version = " 2.5 .0"
44authors = [" Stjepan Glavina <stjepang@gmail.com>" ]
55edition = " 2018"
66description = " Notify async tasks or threads"
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ impl EventListener {
522522 self . wait_internal ( Some ( deadline) )
523523 }
524524
525- /// Drop this listener and discard its notification (if any) without notifying another
525+ /// Drops this listener and discards its notification (if any) without notifying another
526526 /// active listener.
527527 ///
528528 /// Returns `true` if a notification was discarded.
You can’t perform that action at this time.
0 commit comments