Skip to content

Commit 0d53904

Browse files
author
Bennett Hardwick
committed
Cargo fmt
1 parent 91fea07 commit 0d53904

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/async_map_somes.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,7 @@ mod tests {
4747

4848
#[tokio::test]
4949
async fn test_maintain_order() {
50-
let input = vec![
51-
None,
52-
Some(1_u8),
53-
None,
54-
Some(2_u8),
55-
None,
56-
Some(3_u8)
57-
];
50+
let input = vec![None, Some(1_u8), None, Some(2_u8), None, Some(3_u8)];
5851

5952
let output = async_map_somes(input.clone(), |x| async { Ok::<_, ()>(x) })
6053
.await

0 commit comments

Comments
 (0)