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
+
1
5
# Version 2.4.0
2
6
3
7
- ` Event::new() ` is now a const fn.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " event-listener"
3
- version = " 2.4 .0"
3
+ version = " 2.5 .0"
4
4
authors = [
" Stjepan Glavina <[email protected] >" ]
5
5
edition = " 2018"
6
6
description = " Notify async tasks or threads"
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ impl EventListener {
522
522
self . wait_internal ( Some ( deadline) )
523
523
}
524
524
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
526
526
/// active listener.
527
527
///
528
528
/// Returns `true` if a notification was discarded.
You can’t perform that action at this time.
0 commit comments