Skip to content

Commit f61cc15

Browse files
berciuliviuacatangiu
authored andcommitted
Fix cargo clippy error
Fix cargo clippy reversed_empty_ranges error. Signed-off-by: berciuliviu <[email protected]>
1 parent 22b9ea3 commit f61cc15

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/primitives.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,12 @@ macro_rules! impl_versionize_arrays {
166166
}
167167
}
168168

169+
#[allow(clippy::reversed_empty_ranges)]
169170
impl_versionize_arrays! {
170-
0 1 2 3 4 5 6 7 8 9
171-
10 11 12 13 14 15 16 17 18 19
172-
20 21 22 23 24 25 26 27 28 29
173-
30 31 32
171+
1 2 3 4 5 6 7 8 9 10
172+
11 12 13 14 15 16 17 18 19 20
173+
21 22 23 24 25 26 27 28 29 30
174+
31 32
174175
}
175176

176177
impl<T> Versionize for Box<T>

0 commit comments

Comments
 (0)