Minor corrections with latest changes.

This commit is contained in:
Peter Huene
2021-04-16 11:06:24 -07:00
parent 726a936474
commit 6ac1321162
5 changed files with 5 additions and 5 deletions

View File

@@ -750,7 +750,7 @@ impl VMExternRefActivationsTable {
///
/// It is the responsibility of the caller to not have the pointer outlive
/// the stack map lookup trait object.
pub unsafe trait StackMapLookup {
pub unsafe trait StackMapLookup: 'static {
/// Lookup the stack map at a program counter (PC) value.
fn lookup(&self, pc: usize) -> Option<*const StackMap>;
}