diff --git a/core/runtime/snapshot.rs b/core/runtime/snapshot.rs index 7fc5d051a..7a834af9a 100644 --- a/core/runtime/snapshot.rs +++ b/core/runtime/snapshot.rs @@ -29,7 +29,7 @@ pub(crate) struct V8Snapshot(pub(crate) &'static [u8]); pub(crate) fn deconstruct( slice: &'static [u8], -) -> (V8Snapshot, SerializableSnapshotSidecarData) { +) -> (V8Snapshot, SerializableSnapshotSidecarData<'static>) { let len = usize::from_le_bytes(slice[slice.len() - ULEN..].try_into().unwrap()); let data = SerializableSnapshotSidecarData::from_slice(