File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -787,7 +787,7 @@ impl Runner<'_> {
787
787
788
788
// Try stealing from the global queue.
789
789
if let Ok ( r) = self . state . queue . pop ( ) {
790
- steal ( & self . state . queue , & local_queue) ;
790
+ steal ( & self . state . queue , local_queue) ;
791
791
return Some ( r) ;
792
792
}
793
793
@@ -804,11 +804,11 @@ impl Runner<'_> {
804
804
. take ( n) ;
805
805
806
806
// 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) ) ;
808
808
809
809
// Try stealing from each local queue in the list.
810
810
for local in iter {
811
- steal ( local, & local_queue) ;
811
+ steal ( local, local_queue) ;
812
812
if let Ok ( r) = local_queue. pop ( ) {
813
813
return Some ( r) ;
814
814
}
@@ -823,7 +823,7 @@ impl Runner<'_> {
823
823
824
824
if ticks % 64 == 0 {
825
825
// 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) ;
827
827
}
828
828
829
829
runnable
You can’t perform that action at this time.
0 commit comments