Skip to content

Commit e0ec1df

Browse files
committed
clippy
1 parent 780c446 commit e0ec1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ where
127127
thread::scope(|scope| {
128128
let handle = thread::Builder::new()
129129
.name("crates-index-diff".into())
130-
.spawn_scoped(scope, move || f())
130+
.spawn_scoped(scope, f)
131131
.context("couldn't spawn worker thread")?;
132132

133133
handle

0 commit comments

Comments
 (0)