Skip to content

Commit 7b7543b

Browse files
authored
Update call_spy_map.rs
1 parent 342541f commit 7b7543b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/test_utils/spy/call_spy_map.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,15 @@ impl<K: PartialEq, I, O> CallSpyMap<K, I, O> {
7474

7575
for state in guard.iter() {
7676
if !state.results.is_empty() {
77-
write!(&mut fail_pairs, "{}{:?} => {:?}", prefix, &state.key, &state.results)
78-
.unwrap();
77+
write!(
78+
&mut fail_pairs,
79+
"{}{:?} => {:?}",
80+
prefix, &state.key, &state.results,
81+
).unwrap();
7982
prefix = ", ";
8083
}
8184
}
82-
85+
8386
drop(guard); // don't poison
8487

8588
if !fail_pairs.is_empty() {

0 commit comments

Comments
 (0)