summaryrefslogtreecommitdiff
path: root/cli/ops/random.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-01-24 15:10:49 -0500
committerGitHub <noreply@github.com>2020-01-24 15:10:49 -0500
commit5e32c5ea448563be91017d71bab060c8a6bd90fe (patch)
treeaa9e731b9f4b9f6bc28beab23e7575d43bc14653 /cli/ops/random.rs
parent86726f88f1b6fd168fbd5b0d7e01b027cfc268ac (diff)
s/PinnedBuf/ZeroCopyBuf (#3782)
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());