File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -787,7 +787,7 @@ impl Runner<'_> {
787787
788788 // Try stealing from the global queue.
789789 if let Ok ( r) = self . state . queue . pop ( ) {
790- steal ( & self . state . queue , & local_queue) ;
790+ steal ( & self . state . queue , local_queue) ;
791791 return Some ( r) ;
792792 }
793793
@@ -804,11 +804,11 @@ impl Runner<'_> {
804804 . take ( n) ;
805805
806806 // Remove this runner's local queue.
807- let iter = iter. filter ( |local| !core:: ptr:: eq ( local, & local_queue) ) ;
807+ let iter = iter. filter ( |local| !core:: ptr:: eq ( * local, local_queue) ) ;
808808
809809 // Try stealing from each local queue in the list.
810810 for local in iter {
811- steal ( local, & local_queue) ;
811+ steal ( local, local_queue) ;
812812 if let Ok ( r) = local_queue. pop ( ) {
813813 return Some ( r) ;
814814 }
@@ -823,7 +823,7 @@ impl Runner<'_> {
823823
824824 if ticks % 64 == 0 {
825825 // Steal tasks from the global queue to ensure fair task scheduling.
826- steal ( & self . state . queue , & local_queue) ;
826+ steal ( & self . state . queue , local_queue) ;
827827 }
828828
829829 runnable
You can’t perform that action at this time.
0 commit comments