summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs4
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,