File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ struct DispatchGroupTests {
4444                let  result  =  Result ( ) 
4545
4646                let  group  =  DispatchGroup ( ) 
47-                 await  result. append ( value:  " |🔵 \( iteration ) " ) 
47+                 await  result. append ( value:  " |🔵 \( index ) " ) 
4848
4949                group. enter ( ) 
5050                Task  { 
@@ -67,7 +67,7 @@ struct DispatchGroupTests {
6767                await  withCheckedContinuation  {  continuation in 
6868                    group. notify ( queue:  . main)  { 
6969                        Task  { 
70-                             await  result. append ( value:  " 🟢 \( iteration ) = " ) 
70+                             await  result. append ( value:  " 🟢 \( index ) = " ) 
7171                            continuation. resume ( ) 
7272                        } 
7373                    } 
@@ -115,7 +115,7 @@ struct DispatchGroupTests {
115115                /// ```
116116                ///
117117                /// ```
118-                 /// // BAD! (green globe comes before a purle  one)
118+                 /// // BAD! (green globe comes before a purple  one)
119119                /// |🔵42🟣/🟣^🟢42🟣\=
120120                /// ```
121121                ///
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments