mirror of https://github.com/smol-rs/polling
Bump to v2.0.1
This commit is contained in:
parent
421bfc635d
commit
f4ee76fb32
|
@ -1,3 +1,7 @@
|
|||
# Version 2.0.1
|
||||
|
||||
- Minor docs improvements.
|
||||
|
||||
# Version 2.0.0
|
||||
|
||||
- Add `Event` argument to `Poller::insert()`.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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(())
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue