From 066111951ff95977285712533a97427b73d67f85 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 3 Aug 2018 20:57:40 +1000 Subject: [PATCH] Clean up source error --- src/sources/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sources/types.rs b/src/sources/types.rs index 557c242..cc3c0d5 100644 --- a/src/sources/types.rs +++ b/src/sources/types.rs @@ -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.