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 70973bc commit 185b63eCopy full SHA for 185b63e
src/blockdir.rs
@@ -360,10 +360,7 @@ pub(crate) async fn list_blocks(transport: &Transport) -> Result<HashSet<BlockHa
360
let mut subdir_tasks = JoinSet::new();
361
for subdir_name in subdirs {
362
let transport = transport.clone();
363
- subdir_tasks.spawn(async move {
364
- let r = transport.list_dir(&subdir_name).await;
365
- r
366
- });
+ subdir_tasks.spawn(async move { transport.list_dir(&subdir_name).await });
367
}
368
let mut blocks = HashSet::new();
369
while let Some(result) = subdir_tasks.join_next().await {
0 commit comments