nix icon indicating copy to clipboard operation
nix copied to clipboard

refactor: make Epoll take BorrowedFd

Open SteveLauC opened this issue 1 year ago • 0 comments
trafficstars

What does this PR do

  1. Make Epoll-associated functions take BorrowedFd so that it is consistent with FdSet and PollFd
  2. Update the tests in test_epoll.rs, use the new APIs

Checklist:

  • [x] I have read CONTRIBUTING.md
  • [ ] I have written necessary tests and rustdoc comments
  • [x] A change log has been added if this PR modifies nix's API

SteveLauC avatar Nov 27 '23 07:11 SteveLauC