Skip to content

Commit a82b12f

Browse files
committed
ref: remove moves
1 parent 01a9cf1 commit a82b12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/safe_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ mod tests {
294294
let provider = test_provider(max_timeout, 10, 1);
295295

296296
let result = provider
297-
.retry_with_total_timeout(move || async move {
297+
.retry_with_total_timeout(|| async {
298298
sleep(Duration::from_millis(max_timeout + 10)).await;
299299
Ok(42)
300300
})

0 commit comments

Comments
 (0)