diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-01-24 15:10:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 15:10:49 -0500 |
commit | 5e32c5ea448563be91017d71bab060c8a6bd90fe (patch) | |
tree | aa9e731b9f4b9f6bc28beab23e7575d43bc14653 /cli/ops/compiler.rs | |
parent | 86726f88f1b6fd168fbd5b0d7e01b027cfc268ac (diff) |
s/PinnedBuf/ZeroCopyBuf (#3782)
Diffstat (limited to 'cli/ops/compiler.rs')
-rw-r--r-- | cli/ops/compiler.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/ops/compiler.rs b/cli/ops/compiler.rs index e515081df..2d0ffe1f3 100644 --- a/cli/ops/compiler.rs +++ b/cli/ops/compiler.rs @@ -30,7 +30,7 @@ struct CacheArgs { fn op_cache( state: &ThreadSafeState, args: Value, - _zero_copy: Option<PinnedBuf>, + _zero_copy: Option<ZeroCopyBuf>, ) -> Result<JsonOp, ErrBox> { let args: CacheArgs = serde_json::from_value(args)?; @@ -55,7 +55,7 @@ struct SpecifiersReferrerArgs { fn op_resolve_modules( state: &ThreadSafeState, args: Value, - _data: Option<PinnedBuf>, + _data: Option<ZeroCopyBuf>, ) -> Result<JsonOp, ErrBox> { let args: SpecifiersReferrerArgs = serde_json::from_value(args)?; @@ -86,7 +86,7 @@ fn op_resolve_modules( fn op_fetch_source_files( state: &ThreadSafeState, args: Value, - _data: Option<PinnedBuf>, + _data: Option<ZeroCopyBuf>, ) -> Result<JsonOp, ErrBox> { let args: SpecifiersReferrerArgs = serde_json::from_value(args)?; |