We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546152b commit 131e8b2Copy full SHA for 131e8b2
examples/async-multiplexed.rs
@@ -40,7 +40,7 @@ async fn main() {
40
// features = ["tokio-rt-core"] must be specified on redis crate
41
let con = client.get_multiplexed_tokio_connection().await.unwrap();
42
43
- let cmds = (0..100).map(move |i| test_cmd(&con, i));
+ let cmds = (0..100).map(|i| test_cmd(&con, i));
44
let result = future::try_join_all(cmds).await.unwrap();
45
assert_eq!(100, result.len());
46
0 commit comments