From 7d19d4b378a6f3588eba41ac7c25b5f8d483ba8d Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Thu, 31 Aug 2023 14:41:34 -0700 Subject: [PATCH] Remove an unused DropPollable --- crates/wasi-preview1-component-adapter/src/lib.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/wasi-preview1-component-adapter/src/lib.rs b/crates/wasi-preview1-component-adapter/src/lib.rs index 0e66b65d9970..c505ad3fe1bf 100644 --- a/crates/wasi-preview1-component-adapter/src/lib.rs +++ b/crates/wasi-preview1-component-adapter/src/lib.rs @@ -2123,16 +2123,6 @@ impl From for wasi::Filetype { } } -struct DropPollable { - pollable: poll::Pollable, -} - -impl Drop for DropPollable { - fn drop(&mut self) { - poll::drop_pollable(self.pollable) - } -} - #[derive(Clone, Copy)] pub enum BlockingMode { NonBlocking,