diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-04-24 21:43:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-24 21:43:06 -0400 |
commit | 7fc9d7d62a864d1e6af0e77291a105726f73279c (patch) | |
tree | 1fe4b31f9a2362540e125c94a990ea713f0b5e0f /core/libdeno.rs | |
parent | f6948235079b1d6050a2d3c98891844cb97595f5 (diff) |
core: Add test for snapshotting from Rust (#2197)
Diffstat (limited to 'core/libdeno.rs')
-rw-r--r-- | core/libdeno.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/libdeno.rs b/core/libdeno.rs index e6445f299..048db1311 100644 --- a/core/libdeno.rs +++ b/core/libdeno.rs @@ -126,13 +126,6 @@ unsafe impl Send for deno_snapshot<'_> {} /// The type returned from deno_snapshot_new. Needs to be dropped. pub type Snapshot1<'a> = deno_snapshot<'a>; -// TODO Does this make sense? -impl Drop for Snapshot1<'_> { - fn drop(&mut self) { - unsafe { deno_snapshot_delete(self) } - } -} - /// The type created from slice. Used for loading. pub type Snapshot2<'a> = deno_snapshot<'a>; |