summaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-12-05 08:54:48 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-12-05 08:54:48 -0800
commit46062794aaedf1d2f8385124fa5b7061317a2527 (patch)
treebbb900a8b7b32733778fd65af132e58cd869e898 /benches
parent2e584228901db1fd57d68676b4978389fcbecff2 (diff)
Tweak the `PollEvented::deregister` signature
This commit changes the `PollEvented::deregister` signature from fn deregister(self, handle: &Handle) -> io::Result<()> to fn deregister(&self) -> io::Result<()> Now that the handles are `Send` and `Sync` there's no longer any need to pass it in (it's already stored in the `PollEvented` itself). Additionally this switches to `&self` instead of `self` to allow reclamation of the internal resources if necessary.
Diffstat (limited to 'benches')
0 files changed, 0 insertions, 0 deletions