summaryrefslogtreecommitdiff
path: root/cli/ops/random.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/random.rs')
-rw-r--r--cli/ops/random.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/random.rs b/cli/ops/random.rs
index 334616211..950e9c7f0 100644
--- a/cli/ops/random.rs
+++ b/cli/ops/random.rs
@@ -16,7 +16,7 @@ pub fn init(i: &mut Isolate, s: &ThreadSafeState) {
fn op_get_random_values(
state: &ThreadSafeState,
_args: Value,
- zero_copy: Option<PinnedBuf>,
+ zero_copy: Option<ZeroCopyBuf>,
) -> Result<JsonOp, ErrBox> {
assert!(zero_copy.is_some());