Skip to content

Commit 06ae11e

Browse files
Update crates/bevy_ecs/src/world/mod.rs
Co-authored-by: Alice Cecile <[email protected]>
1 parent 3b8f10a commit 06ae11e

File tree

1 file changed

+2
-1
lines changed
  • crates/bevy_ecs/src/world

1 file changed

+2
-1
lines changed

crates/bevy_ecs/src/world/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ impl World {
445445
/// assert_eq!(world.get::<Position>(entities[1]).unwrap(), &Position { x: 0.0, y: 1.0 });
446446
/// ```
447447
///
448-
/// To iterate over entities in a deterministic order sort results using the required component as a key.
448+
/// To iterate over entities in a deterministic order,
449+
/// sort the results of the query using the desired component as a key.
449450
///
450451
/// ```
451452
/// use bevy_ecs::world::World;

0 commit comments

Comments
 (0)