diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-16 00:33:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 00:33:46 +0100 |
commit | bd481bf095f920a419ea55543f911e087f98f36f (patch) | |
tree | b4f97aabfd3734770c5367b1253511a02d86af87 /bench_util | |
parent | 672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff) |
feat(ops): optional OpState (#13954)
Diffstat (limited to 'bench_util')
-rw-r--r-- | bench_util/benches/op_baseline.rs | 4 |
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) } |