summaryrefslogtreecommitdiff
path: root/runtime/ops/signal.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-05-08 14:37:42 +0200
committerGitHub <noreply@github.com>2021-05-08 14:37:42 +0200
commitd5f39fd121b8f997dcfb360828f60cee47322ab3 (patch)
tree4eb4880060a861ac6ddfe27e5f62b8bc756b52b5 /runtime/ops/signal.rs
parent4ed1428c3401c9e6dc4d737bd7c9a50840054696 (diff)
cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530)
Diffstat (limited to 'runtime/ops/signal.rs')
-rw-r--r--runtime/ops/signal.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs
index 9d884a532..2a72625d9 100644
--- a/runtime/ops/signal.rs
+++ b/runtime/ops/signal.rs
@@ -4,7 +4,6 @@ use deno_core::op_async;
use deno_core::op_sync;
use deno_core::Extension;
use deno_core::OpState;
-use deno_core::ZeroCopyBuf;
use std::cell::RefCell;
use std::rc::Rc;
@@ -61,7 +60,7 @@ impl Resource for SignalStreamResource {
fn op_signal_bind(
state: &mut OpState,
signo: i32,
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<ResourceId, AnyError> {
super::check_unstable(state, "Deno.signal");
let resource = SignalStreamResource {
@@ -76,7 +75,7 @@ fn op_signal_bind(
async fn op_signal_poll(
state: Rc<RefCell<OpState>>,
rid: ResourceId,
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<bool, AnyError> {
super::check_unstable2(&state, "Deno.signal");
@@ -98,7 +97,7 @@ async fn op_signal_poll(
pub fn op_signal_unbind(
state: &mut OpState,
rid: ResourceId,
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<(), AnyError> {
super::check_unstable(state, "Deno.signal");
state
@@ -112,7 +111,7 @@ pub fn op_signal_unbind(
pub fn op_signal_bind(
_state: &mut OpState,
_args: (),
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<(), AnyError> {
unimplemented!();
}
@@ -121,7 +120,7 @@ pub fn op_signal_bind(
fn op_signal_unbind(
_state: &mut OpState,
_args: (),
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<(), AnyError> {
unimplemented!();
}
@@ -130,7 +129,7 @@ fn op_signal_unbind(
async fn op_signal_poll(
_state: Rc<RefCell<OpState>>,
_args: (),
- _zero_copy: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<(), AnyError> {
unimplemented!();
}