diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-15 23:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 23:43:17 +0100 |
commit | bb53135ed87ec063c9238e1b7de8cf3b44535685 (patch) | |
tree | 76dfbbfedf1de3482b1d179c46aa855bc6a8e544 /ext/net/ops.rs | |
parent | 5d60ee7f1280d8000b918e7fb9e11e3ddca779e7 (diff) |
cleanup(core): OpPair => OpDecl (#13952)
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r-- | ext/net/ops.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 1cd3ad8e6..0167448dd 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -15,7 +15,7 @@ use deno_core::AsyncRefCell; use deno_core::ByteString; use deno_core::CancelHandle; use deno_core::CancelTryFuture; -use deno_core::OpPair; +use deno_core::OpDecl; use deno_core::OpState; use deno_core::RcRef; use deno_core::Resource; @@ -50,7 +50,7 @@ use crate::io::UnixStreamResource; #[cfg(unix)] use std::path::Path; -pub fn init<P: NetPermissions + 'static>() -> Vec<OpPair> { +pub fn init<P: NetPermissions + 'static>() -> Vec<OpDecl> { vec![ op_net_accept::decl(), op_net_connect::decl::<P>(), |