Bump to v2.1.0
This commit is contained in:
parent
a62f21eccb
commit
cd22fb7724
|
@ -1,3 +1,7 @@
|
|||
# Version 2.1.0
|
||||
|
||||
- Add `EventListener::listens_to()`.
|
||||
|
||||
# Version 2.0.1
|
||||
|
||||
- Replace `usize::MAX` with `std::usize::MAX`.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "event-listener"
|
||||
version = "2.0.1"
|
||||
version = "2.1.0"
|
||||
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "Notify async tasks or threads"
|
||||
|
|
|
@ -493,7 +493,7 @@ impl EventListener {
|
|||
self.wait_internal(Some(deadline))
|
||||
}
|
||||
|
||||
/// Returns true if this listener listens to this event.
|
||||
/// Returns `true` if this listener listens to the given `event`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue