diff --git a/lib/runtime/src/vmcontext.rs b/lib/runtime/src/vmcontext.rs index 2e8c9140019e..b5f2a507e297 100644 --- a/lib/runtime/src/vmcontext.rs +++ b/lib/runtime/src/vmcontext.rs @@ -409,7 +409,7 @@ mod test_vmshared_signature_index { impl VMSharedSignatureIndex { /// Create a new `VMSharedSignatureIndex`. pub fn new(value: u32) -> Self { - Self(value) + VMSharedSignatureIndex(value) } }