Skip to content

Commit 75459d3

Browse files
committed
lint: clippy
1 parent b5e0e43 commit 75459d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ where
151151
async move {
152152
lock_task(&pool, &task_id, &worker_id)
153153
.await
154-
.map_err(|e| AbortError::new(e))?;
154+
.map_err(AbortError::new)?;
155155
fut.await.map_err(|e| e.into())
156156
}
157157
.boxed()

0 commit comments

Comments
 (0)