We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9a70b commit 78cb1e2Copy full SHA for 78cb1e2
src/libsemver/lib.rs
@@ -74,17 +74,17 @@ impl ToStr for Identifier {
74
#[deriving(Clone, Eq)]
75
pub struct Version {
76
/// The major version, to be incremented on incompatible changes.
77
- priv major: uint,
+ major: uint,
78
/// The minor version, to be incremented when functionality is added in a
79
/// backwards-compatible manner.
80
- priv minor: uint,
+ minor: uint,
81
/// The patch version, to be incremented when backwards-compatible bug
82
/// fixes are made.
83
- priv patch: uint,
+ patch: uint,
84
/// The pre-release version identifier, if one exists.
85
- priv pre: ~[Identifier],
+ pre: ~[Identifier],
86
/// The build metadata, ignored when determining version precedence.
87
- priv build: ~[Identifier],
+ build: ~[Identifier],
88
}
89
90
impl ToStr for Version {
0 commit comments