summaryrefslogtreecommitdiff
path: root/ext/io/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-07-10 00:48:47 +0200
committerGitHub <noreply@github.com>2023-07-09 22:48:47 +0000
commit1edc8693bfc4b75e3bb61fc8dc531bdf569b332d (patch)
tree56f3b6a1023997e4203374723b96427238ba5e69 /ext/io/lib.rs
parent21cc279481ac5bffc29641e917e868dca42189d3 (diff)
chore: upgrade deno_core and rusty_v8 (#19773)
Diffstat (limited to 'ext/io/lib.rs')
-rw-r--r--ext/io/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/io/lib.rs b/ext/io/lib.rs
index 6dec7c3a7..00509011f 100644
--- a/ext/io/lib.rs
+++ b/ext/io/lib.rs
@@ -10,6 +10,7 @@ use deno_core::BufMutView;
use deno_core::BufView;
use deno_core::CancelHandle;
use deno_core::CancelTryFuture;
+use deno_core::Op;
use deno_core::OpState;
use deno_core::RcRef;
use deno_core::Resource;
@@ -89,7 +90,7 @@ deno_core::extension!(deno_io,
stdio: Option<Stdio>,
},
middleware = |op| match op.name {
- "op_print" => op_print::decl(),
+ "op_print" => op_print::DECL,
_ => op,
},
state = |state, options| {