Remove not needed lambda.
This commit is contained in:
parent
f1dab244d7
commit
3450cf61e0
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ pub fn setup_callbacks_and_run_in_thread_pool_with_globals<F: FnOnce() -> R + Se
|
|||
config = config.stack_size(size);
|
||||
}
|
||||
|
||||
let with_pool = move |pool: &rayon::ThreadPool| pool.install(move || f());
|
||||
let with_pool = move |pool: &rayon::ThreadPool| pool.install(f);
|
||||
|
||||
rustc_span::with_session_globals(edition, || {
|
||||
rustc_span::SESSION_GLOBALS.with(|session_globals| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue