Skip to content

Commit

Permalink
Fix the compile error while running the cargo clippy
Browse files Browse the repository at this point in the history
Signed-off-by: git-hulk <hulk.website@gmail.com>
  • Loading branch information
git-hulk committed Mar 27, 2024
1 parent 65a0062 commit 0399217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/tests/integration_cases/test_raft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5301,7 +5301,7 @@ fn test_election_with_priority_log() {
(false, false, true, 1, 1, 3, 1, StateRole::Leader),
];

for (_i, &(l1, l2, l3, p1, p2, p3, id, state)) in tests.iter().enumerate() {
for &(l1, l2, l3, p1, p2, p3, id, state) in tests.iter() {
let l = default_logger();
let mut n1 = new_test_raft(1, vec![1, 2, 3], 10, 1, new_storage(), &l);
let mut n2 = new_test_raft(2, vec![1, 2, 3], 10, 1, new_storage(), &l);
Expand Down

0 comments on commit 0399217

Please sign in to comment.