Skip to content

Commit

Permalink
Remove an unused DropPollable
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed Aug 31, 2023
1 parent 30b9cd5 commit 7d19d4b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/wasi-preview1-component-adapter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2123,16 +2123,6 @@ impl From<filesystem::DescriptorType> 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,
Expand Down

0 comments on commit 7d19d4b

Please sign in to comment.