diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-11-17 22:59:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 02:59:10 +0100 |
commit | 238590aa9fdfe2aac04bb96abad2f2d2feb3101a (patch) | |
tree | f8fa04e39baecb5460076c1329ca38ae31f440b6 /core/runtime.rs | |
parent | 483c10c94b8a5de49cee4c4b9a3ce74726501c8a (diff) |
chore: use Rust 1.65.0 (#16688)
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index e85b7296a..b1ce14883 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -2888,7 +2888,7 @@ pub mod tests { ..Default::default() }); runtime.execute_script("a.js", "a = 1 + 2").unwrap(); - let snap: &[u8] = &*runtime.snapshot(); + let snap: &[u8] = &runtime.snapshot(); Vec::from(snap).into_boxed_slice() }; @@ -4051,7 +4051,7 @@ Deno.core.ops.op_async_serialize_object_with_numbers_as_keys({ will_snapshot: true, ..Default::default() }); - let snap: &[u8] = &*runtime.snapshot(); + let snap: &[u8] = &runtime.snapshot(); Vec::from(snap).into_boxed_slice() }; |