Skip to content

Commit 6b0e559

Browse files
committed
fix: mark NetworkVersion as non-exhaustive
That way changing this isn't a breaking change.
1 parent dc2a903 commit 6b0e559

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)