Skip to content

Commit

Permalink
ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
soqb committed Mar 30, 2024
1 parent a0dd2e3 commit adc0b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/reflect/entity_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ pub trait ReflectCommandExt {
/// mut prefab: ResMut<Prefab>
/// ) {
/// // Create a set of new boxed reflect components to use
/// let boxed_reflect_component_a: Box<dyn PartialReflect> = Box::new(ComponentA(916));
/// let boxed_reflect_component_b: Box<dyn PartialReflect> = Box::new(ComponentB("NineSixteen".to_string()));
/// let boxed_reflect_component_a: Box<dyn Reflect> = Box::new(ComponentA(916));
/// let boxed_reflect_component_b: Box<dyn Reflect> = Box::new(ComponentB("NineSixteen".to_string()));
///
/// // You can overwrite the component in the resource with either ComponentA or ComponentB
/// prefab.component = boxed_reflect_component_a;
Expand Down

0 comments on commit adc0b56

Please sign in to comment.