Skip to content

Commit 2a25b53

Browse files
committed
Allow clippy::type_complexity
(cherry picked from commit a14f459)
1 parent 85ed287 commit 2a25b53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rayon-core/src/scope/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ struct ScopeBase<'scope> {
5656
/// all of which outlive `'scope`. They're not actually required to be
5757
/// `Sync`, but it's still safe to let the `Scope` implement `Sync` because
5858
/// the closures are only *moved* across threads to be executed.
59+
#[allow(clippy::type_complexity)]
5960
marker: PhantomData<Box<dyn FnOnce(&Scope<'scope>) + Send + Sync + 'scope>>,
6061

6162
/// The TLV at the scope's creation. Used to set the TLV for spawned jobs.

0 commit comments

Comments
 (0)