Bump to v2.1.0

This commit is contained in:
Stjepan Glavina 2020-07-02 17:30:49 +02:00
parent a62f21eccb
commit cd22fb7724
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Version 2.1.0
- Add `EventListener::listens_to()`.
# Version 2.0.1
- Replace `usize::MAX` with `std::usize::MAX`.

View File

@ -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"

View File

@ -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
///