summaryrefslogtreecommitdiff
path: root/bench_util/benches/op_baseline.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-03-16 00:33:46 +0100
committerGitHub <noreply@github.com>2022-03-16 00:33:46 +0100
commitbd481bf095f920a419ea55543f911e087f98f36f (patch)
treeb4f97aabfd3734770c5367b1253511a02d86af87 /bench_util/benches/op_baseline.rs
parent672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff)
feat(ops): optional OpState (#13954)
Diffstat (limited to 'bench_util/benches/op_baseline.rs')
-rw-r--r--bench_util/benches/op_baseline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench_util/benches/op_baseline.rs b/bench_util/benches/op_baseline.rs
index 07c4905a9..052ac2cb2 100644
--- a/bench_util/benches/op_baseline.rs
+++ b/bench_util/benches/op_baseline.rs
@@ -22,12 +22,12 @@ fn setup() -> Vec<Extension> {
}
#[op]
-fn op_nop(_: &mut OpState) -> Result<(), AnyError> {
+fn op_nop() -> Result<(), AnyError> {
Ok(())
}
#[op]
-fn op_pi_json(_: &mut OpState) -> Result<i64, AnyError> {
+fn op_pi_json() -> Result<i64, AnyError> {
Ok(314159)
}