Skip to content

Commit 1d907c5

Browse files
authored
add missing mention of sort_unstable_by_key in QuerySortedIter docs (#14108)
# Objective There is a missing mention of `sort_unstable_by_key` in the `QuerySortedIter` docs. ## Solution Add it.
1 parent 7aaf440 commit 1d907c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/query/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Debug for QueryIter<'w, 's, D, F> {
945945
///
946946
/// This struct is created by the [`QueryIter::sort`], [`QueryIter::sort_unstable`],
947947
/// [`QueryIter::sort_by`], [`QueryIter::sort_unstable_by`], [`QueryIter::sort_by_key`],
948-
/// and [`QueryIter::sort_by_cached_key`] methods.
948+
/// [`QueryIter::sort_unstable_by_key`], and [`QueryIter::sort_by_cached_key`] methods.
949949
pub struct QuerySortedIter<'w, 's, D: QueryData, F: QueryFilter, I>
950950
where
951951
I: Iterator<Item = Entity>,

0 commit comments

Comments
 (0)