We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0d8a8 commit 5f0c1aaCopy full SHA for 5f0c1aa
crates/ide/src/prime_caches.rs
@@ -47,10 +47,11 @@ pub struct ParallelPrimeCachesProgress {
47
pub crates_done: usize,
48
}
49
50
-pub(crate) fn parallel_prime_caches<F>(db: &RootDatabase, num_worker_threads: u8, cb: &F)
51
-where
52
- F: Fn(ParallelPrimeCachesProgress) + Sync + std::panic::UnwindSafe,
53
-{
+pub(crate) fn parallel_prime_caches(
+ db: &RootDatabase,
+ num_worker_threads: u8,
+ cb: &(dyn Fn(ParallelPrimeCachesProgress) + Sync),
54
+) {
55
let _p = profile::span("prime_caches");
56
57
let graph = db.crate_graph();
0 commit comments