Skip to content

Commit 138e3f6

Browse files
committed
ver: make fields public
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 562f5e8 commit 138e3f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ver.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ use zerocopy_derive::{FromBytes, Immutable, IntoBytes};
55
#[derive(Immutable, IntoBytes, FromBytes, Serialize, Deserialize, Clone, Copy, Debug)]
66
#[repr(C)]
77
pub struct Version {
8-
major: u16,
9-
minor: u16,
10-
patch: u16,
11-
build: u16,
8+
pub major: u16,
9+
pub minor: u16,
10+
pub patch: u16,
11+
pub build: u16,
1212
}
1313

1414
impl Display for Version {

0 commit comments

Comments
 (0)