1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Fix merge error in core/benches/op_baseline.rs

This commit is contained in:
Ryan Dahl 2021-04-02 10:14:51 -04:00
parent ee3aa612aa
commit 54c2a95ed6

View file

@ -5,11 +5,11 @@ use deno_core::error::AnyError;
use deno_core::json_op_async;
use deno_core::json_op_sync;
use deno_core::v8;
use deno_core::BufVec;
use deno_core::JsRuntime;
use deno_core::Op;
use deno_core::OpResponse;
use deno_core::OpState;
use deno_core::ZeroCopyBuf;
use std::cell::RefCell;
use std::rc::Rc;
@ -42,7 +42,7 @@ fn create_js_runtime() -> JsRuntime {
async fn op_pi_async(
_: Rc<RefCell<OpState>>,
_: (),
_: BufVec,
_: Option<ZeroCopyBuf>,
) -> Result<i64, AnyError> {
Ok(314159)
}