Skip to content

Commit

Permalink
Self struct constructors are unstable.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Feb 26, 2019
1 parent 3827bc7 commit fb7c1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/src/vmcontext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit fb7c1b7

Please sign in to comment.