Skip to content

Commit af811a3

Browse files
authored
chore: Change an assert! to assert_eq! (#828)
1 parent 2a3a871 commit af811a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cycle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl CycleHeads {
161161
.iter()
162162
.find(|candidate| candidate.database_key_index == head.database_key_index)
163163
{
164-
assert!(existing.iteration_count == head.iteration_count);
164+
assert_eq!(existing.iteration_count, head.iteration_count);
165165
} else {
166166
self.0.push(*head);
167167
}

0 commit comments

Comments
 (0)