diff options
author | Carl Lerche <me@carllerche.com> | 2020-11-10 09:40:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 09:40:20 -0800 |
commit | e1256d8ca4c510c8417874660e74760d87178445 (patch) | |
tree | 08312ba9a260aa69ce9f5c3a1e1a4c76ae0205ed /tokio/src/io/driver/mod.rs | |
parent | a52f5071bf5ecf31c44e8aba5d8611400c50eb71 (diff) |
io: update AsyncFd to use Registration (#3113)
Diffstat (limited to 'tokio/src/io/driver/mod.rs')
-rw-r--r-- | tokio/src/io/driver/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tokio/src/io/driver/mod.rs b/tokio/src/io/driver/mod.rs index a0d8e6f2..a7d4b7b8 100644 --- a/tokio/src/io/driver/mod.rs +++ b/tokio/src/io/driver/mod.rs @@ -290,12 +290,6 @@ impl Handle { pub(super) fn inner(&self) -> Option<Arc<Inner>> { self.inner.upgrade() } - - cfg_net_unix! { - pub(super) fn is_alive(&self) -> bool { - self.inner.strong_count() > 0 - } - } } impl Unpark for Handle { |