mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
Remove not needed lambda.
This commit is contained in:
parent
f1dab244d7
commit
3450cf61e0
@ -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…
Reference in New Issue
Block a user