Clean up source error

This commit is contained in:
James 2018-08-03 20:57:40 +10:00
parent 012f0b87fb
commit 066111951f

View File

@ -14,6 +14,8 @@ pub enum Version {
Integer(u64),
}
// All versions are needed, even if a source is disabled at compile-time.
#[allow(dead_code)]
impl Version {
/// Coarses versions into semver versions. This will use a integer version as the major
/// field if required.