Skip to content

Commit b872f60

Browse files
authored
Merge pull request #455 from filecoin-project/feat/non-exhaustive-nv
fix: mark NetworkVersion as non-exhaustive
2 parents dc2a903 + 6b0e559 commit b872f60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared/src/version/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use fvm_ipld_encoding::repr::Serialize_repr;
88
/// Specifies the network version
99
#[derive(Debug, Eq, PartialEq, Clone, Copy, Ord, PartialOrd, Serialize_repr)]
1010
#[repr(u32)]
11+
#[non_exhaustive]
1112
pub enum NetworkVersion {
1213
/// genesis (specs-actors v0.9.3)
1314
V0 = 0,

0 commit comments

Comments
 (0)