Skip to content

Commit

Permalink
Fix cargo clippy error
Browse files Browse the repository at this point in the history
Fix cargo clippy reversed_empty_ranges error.

Signed-off-by: berciuliviu <lberciu@amazon.com>
  • Loading branch information
berciuliviu authored and acatangiu committed Mar 23, 2021
1 parent 22b9ea3 commit f61cc15
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,12 @@ macro_rules! impl_versionize_arrays {
}
}

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

impl<T> Versionize for Box<T>
Expand Down

0 comments on commit f61cc15

Please sign in to comment.