File tree 1 file changed +2
-2
lines changed
crates/bevy_ecs/src/system 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ where
159
159
input,
160
160
// SAFETY: The world accesses for both underlying systems have been registered,
161
161
// 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
163
163
// in parallel, so their world accesses will not conflict with each other.
164
164
|input| self . a . run_unsafe ( input, world) ,
165
165
|input| self . b . run_unsafe ( input, world) ,
@@ -172,7 +172,7 @@ where
172
172
let world: & ' w UnsafeCell < World > = unsafe { std:: mem:: transmute ( world) } ;
173
173
Func :: combine (
174
174
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
176
176
// be called in parallel. Since mutable access to `world` only exists within
177
177
// the scope of either closure, we can be sure they will never alias one another.
178
178
|input| self . a . run ( input, unsafe { world. deref_mut ( ) } ) ,
You can’t perform that action at this time.
0 commit comments