From 24fdad3a36f74b49f0f41950ffffd14ba95757e7 Mon Sep 17 00:00:00 2001 From: Vic <59878206+Victoronz@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:27:21 +0200 Subject: [PATCH] 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. --- crates/bevy_ecs/src/query/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/query/iter.rs b/crates/bevy_ecs/src/query/iter.rs index 05bc00e788..7a5c5ca5fd 100644 --- a/crates/bevy_ecs/src/query/iter.rs +++ b/crates/bevy_ecs/src/query/iter.rs @@ -945,7 +945,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Debug for QueryIter<'w, 's, D, F> { /// /// This struct is created by the [`QueryIter::sort`], [`QueryIter::sort_unstable`], /// [`QueryIter::sort_by`], [`QueryIter::sort_unstable_by`], [`QueryIter::sort_by_key`], -/// and [`QueryIter::sort_by_cached_key`] methods. +/// [`QueryIter::sort_unstable_by_key`], and [`QueryIter::sort_by_cached_key`] methods. pub struct QuerySortedIter<'w, 's, D: QueryData, F: QueryFilter, I> where I: Iterator,