summaryrefslogtreecommitdiff
path: root/core/ops_builtin.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-03-15 22:58:03 +0100
committerGitHub <noreply@github.com>2022-03-15 22:58:03 +0100
commit60466de5d5808280542d1a62f86bacffef555cc2 (patch)
tree89f7ddb87da85898021bb5c4c38293482d46bf29 /core/ops_builtin.rs
parent07d8431f100e8df5f523adf542b47f8b91af3539 (diff)
cleanup(core): remove void_op_a?sync (#13953)
In favour of `op_void_sync` & `op_void_async`
Diffstat (limited to 'core/ops_builtin.rs')
-rw-r--r--core/ops_builtin.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs
index a742a77b1..92f77f954 100644
--- a/core/ops_builtin.rs
+++ b/core/ops_builtin.rs
@@ -39,19 +39,6 @@ pub(crate) fn init_builtins() -> Extension {
.build()
}
-#[op]
-pub fn void_op_sync(_: &mut OpState) -> Result<(), Error> {
- Ok(())
-}
-
-pub async fn void_op_async(
- _state: Rc<RefCell<OpState>>,
- _: (),
- _: (),
-) -> Result<(), Error> {
- Ok(())
-}
-
/// Return map of resources with id as key
/// and string representation as value.
#[op]