File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ pub trait DynamicBundle {
251251 ) ;
252252
253253 // SAFETY:
254- // - Must be called exactly once after `get_compoennts ` has been called.
254+ // - Must be called exactly once after `get_components ` has been called.
255255 // - `ptr` must point to a valid instance of `Self` but does not necessary need to be aligned.
256256 #[ doc( hidden) ]
257257 unsafe fn apply_effect ( ptr : * mut Self , world : & mut EntityWorldMut ) ;
Original file line number Diff line number Diff line change @@ -1186,7 +1186,7 @@ impl World {
11861186 // SAFETY: entity and location are valid, as they were just created above
11871187 let mut entity = unsafe { EntityWorldMut :: new ( self , entity, entity_location) } ;
11881188 // SAFETY:
1189- // - This is called exactly once after `get_compoennts ` has been called in `spawn_non_existent`.
1189+ // - This is called exactly once after `get_components ` has been called in `spawn_non_existent`.
11901190 // - The caller must ensure that `ptr` points to a valid instance of `B`.
11911191 unsafe { B :: apply_effect ( bundle. cast_mut ( ) , & mut entity) } ;
11921192 entity
You can’t perform that action at this time.
0 commit comments