Skip to content

Commit

Permalink
clippy is not complaining about this in main?
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jan 20, 2023
1 parent 7f9a402 commit ba277c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turbo-tasks-memory/src/memory_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl MemoryBackend {
backend_job_id_factory: IdFactory::new(),
task_cache: DashMap::default(),
memory_limit,
gc_queue: (memory_limit != usize::MAX).then(|| GcQueue::new()),
gc_queue: (memory_limit != usize::MAX).then(GcQueue::new),
idle_gc_active: AtomicBool::new(false),
scope_add_remove_priority: PriorityPair::new(),
}
Expand Down

0 comments on commit ba277c9

Please sign in to comment.