diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-12 21:55:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 15:55:05 -0400 |
commit | 46b1c653c0c433932908b7610f60b409af134c76 (patch) | |
tree | 00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /core/runtime.rs | |
parent | a20504642d083172f297543f9788b128e9c2e0bc (diff) |
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index 28f015fda..3583ad89e 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -438,8 +438,8 @@ impl JsRuntime { /// /// This function provides byte-level bindings. To pass data via JSON, the /// following functions can be passed as an argument for `op_fn`: - /// * [json_op_sync()](fn.json_op_sync.html) - /// * [json_op_async()](fn.json_op_async.html) + /// * [op_sync()](fn.op_sync.html) + /// * [op_async()](fn.op_async.html) pub fn register_op<F>(&mut self, name: &str, op_fn: F) -> OpId where F: Fn(Rc<RefCell<OpState>>, OpPayload, Option<ZeroCopyBuf>) -> Op + 'static, |