File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
crates/bevy_ecs/src/system Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ where
159159            input, 
160160            // SAFETY: The world accesses for both underlying systems have been registered, 
161161            // so the caller will guarantee that no other systems will conflict with `a` or `b`. 
162-             // Since these closures are `!Send + !Synd  + !'static`, they can never be called 
162+             // Since these closures are `!Send + !Sync  + !'static`, they can never be called 
163163            // in parallel, so their world accesses will not conflict with each other. 
164164            |input| self . a . run_unsafe ( input,  world) , 
165165            |input| self . b . run_unsafe ( input,  world) , 
@@ -172,7 +172,7 @@ where
172172        let  world:  & ' w  UnsafeCell < World >  = unsafe  {  std:: mem:: transmute ( world)  } ; 
173173        Func :: combine ( 
174174            input, 
175-             // SAFETY: Since these closures are `!Send + !Synd  + !'static`, they can never 
175+             // SAFETY: Since these closures are `!Send + !Sync  + !'static`, they can never 
176176            // be called in parallel. Since mutable access to `world` only exists within 
177177            // the scope of either closure, we can be sure they will never alias one another. 
178178            |input| self . a . run ( input,  unsafe  {  world. deref_mut ( )  } ) , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments