Skip to content

Commit f4a52b3

Browse files
committed
Document changes to poll.rs in CHANGELOG.md
1 parent 93dc238 commit f4a52b3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2323
([#407](https://github.com/nix-rust/nix/pull/407))
2424
- Added `CpuSet::unset` in `::nix::sched`.
2525
([#402](https://github.com/nix-rust/nix/pull/402))
26+
- Added constructor method `new()` to `PollFd` in `::nix::poll`, in order to
27+
allow creation of objects, after removing public access to members.
28+
([#399](https://github.com/nix-rust/nix/pull/399))
29+
- Added method `revents()` to `PollFd` in `::nix::poll`, in order to provide
30+
read access to formerly public member `revents`.
31+
([#399](https://github.com/nix-rust/nix/pull/399))
2632

2733
### Changed
2834
- Replaced the reexported integer constants for signals by the enumeration
@@ -40,6 +46,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4046
([#362](https://github.com/nix-rust/nix/pull/362))
4147
- Type alias `CpuMask` from `::nix::shed`.
4248
([#402](https://github.com/nix-rust/nix/pull/402))
49+
- Removed public fields from `PollFd` in `::nix::poll`. (See also added method
50+
`revents()`.
51+
([#399](https://github.com/nix-rust/nix/pull/399))
4352

4453
### Fixed
4554
- Fixed the build problem for NetBSD (Note, that we currently do not support

0 commit comments

Comments
 (0)