Self struct constructors are unstable.
This commit is contained in:
@@ -409,7 +409,7 @@ mod test_vmshared_signature_index {
|
|||||||
impl VMSharedSignatureIndex {
|
impl VMSharedSignatureIndex {
|
||||||
/// Create a new `VMSharedSignatureIndex`.
|
/// Create a new `VMSharedSignatureIndex`.
|
||||||
pub fn new(value: u32) -> Self {
|
pub fn new(value: u32) -> Self {
|
||||||
Self(value)
|
VMSharedSignatureIndex(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user