Skip to content

Commit a6f9964

Browse files
author
liv
committed
chore: rustfmt
1 parent 3522678 commit a6f9964

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

exercises/iterators/iterators5.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ mod tests {
7777
}
7878

7979
#[test]
80-
fn count_complete_equals_for() {
80+
fn count_complete_equals_for() {
8181
let map = get_map();
8282
let progressStates = vec![Progress::Complete, Progress::Some, Progress::None];
8383
for progressState in progressStates {
@@ -100,19 +100,13 @@ mod tests {
100100
#[test]
101101
fn count_collection_some() {
102102
let collection = get_vec_map();
103-
assert_eq!(
104-
1,
105-
count_collection_iterator(&collection, Progress::Some)
106-
);
103+
assert_eq!(1, count_collection_iterator(&collection, Progress::Some));
107104
}
108105

109106
#[test]
110107
fn count_collection_none() {
111108
let collection = get_vec_map();
112-
assert_eq!(
113-
4,
114-
count_collection_iterator(&collection, Progress::None)
115-
);
109+
assert_eq!(4, count_collection_iterator(&collection, Progress::None));
116110
}
117111

118112
#[test]

0 commit comments

Comments
 (0)