From 46b1c653c0c433932908b7610f60b409af134c76 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Mon, 12 Apr 2021 21:55:05 +0200 Subject: refactor(deno): remove concept of bin & json ops (#10145) --- core/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ops.rs') diff --git a/core/ops.rs b/core/ops.rs index 53aec4ae4..3cc24c8cc 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -188,7 +188,7 @@ impl Default for OpTable { /// Return map of resources with id as key /// and string representation as value. /// -/// This op must be wrapped in `json_op_sync`. +/// This op must be wrapped in `op_sync`. pub fn op_resources( state: &mut OpState, _args: (), @@ -204,7 +204,7 @@ pub fn op_resources( /// Remove a resource from the resource table. /// -/// This op must be wrapped in `json_op_sync`. +/// This op must be wrapped in `op_sync`. pub fn op_close( state: &mut OpState, rid: Option, -- cgit v1.2.3