From 7fc9d7d62a864d1e6af0e77291a105726f73279c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 24 Apr 2019 21:43:06 -0400 Subject: core: Add test for snapshotting from Rust (#2197) --- core/libdeno.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/libdeno.rs') 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>; -- cgit v1.2.3