summaryrefslogtreecommitdiff
path: root/src/features.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/features.rs')
-rw-r--r--src/features.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/features.rs b/src/features.rs
index 8f80a78c..cb31c914 100644
--- a/src/features.rs
+++ b/src/features.rs
@@ -24,10 +24,10 @@ mod os {
*dst += (b - b'0') as usize;
}
- let mut curr = 0us;
- let mut major = 0;
- let mut minor = 0;
- let mut patch = 0;
+ let mut curr: usize = 0;
+ let mut major: usize = 0;
+ let mut minor: usize = 0;
+ let mut patch: usize = 0;
for b in u.release().bytes() {
if curr >= 3 {