Skip to content

Commit

Permalink
doc test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Indra-db committed Aug 21, 2024
1 parent 28a66f9 commit 03f38dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flecs_ecs/src/core/entity_view/entity_view_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ impl<'a> EntityView<'a> {
/// // using a tuple indicates a relationship. It doesn't have to be a relationship.
/// entity.set_id(Position { x: 10.0, y: 20.0 }, (in_world, position));
/// // no relationship
/// entity.set_id(Position { x: 1.0, y: 2.0 }, position));
/// entity.set_id(Position { x: 1.0, y: 2.0 }, position);
///
/// entity.get::<&(InWorld, Position)>(|pos| {
/// // ...
Expand Down

0 comments on commit 03f38dc

Please sign in to comment.