# Objective `ThreadLocal::<T>::default()` doesn't require `T: Default`, so `Parallel<T>` shouldn't require it either. ## Solution - Replaced the `Default` derive with a manually specified impl. - Added `Parallel::borrow_local_mut_or` as a non-`T: Default`-requiring alternative to `borrow_local_mut`. - Added `Parallel::scope_or` as a non-`T: Default`-requiring alternative to `scope`. |
||
|---|---|---|
| .. | ||
| debug_info.rs | ||
| default.rs | ||
| lib.rs | ||
| map.rs | ||
| once.rs | ||
| parallel_queue.rs | ||
| wgpu_wrapper.rs | ||