Bump to v2.0.1

This commit is contained in:
Stjepan Glavina 2020-10-09 14:10:22 +02:00
parent 421bfc635d
commit f4ee76fb32
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Version 2.0.1
- Minor docs improvements.
# Version 2.0.0
- Add `Event` argument to `Poller::insert()`.

View File

@ -1,6 +1,6 @@
[package]
name = "polling"
version = "2.0.0"
version = "2.0.1"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
description = "Portable interface to epoll, kqueue, event ports, and wepoll"

View File

@ -267,7 +267,8 @@ impl Poller {
/// # let source = std::net::TcpListener::bind("127.0.0.1:0")?;
/// # let key = 7;
/// # let poller = Poller::new()?;
/// poller.add(&source, Event::all(key))?;
/// # poller.add(&source, Event::none(key))?;
/// poller.modify(&source, Event::all(key))?;
/// # std::io::Result::Ok(())
/// ```
///