Minor typo fix
This commit is contained in:
Trent 2025-06-15 17:49:54 +10:00 committed by GitHub
parent 30aa36eaf4
commit 29cfad63a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,13 +86,13 @@ pub trait OrderedRelationshipSourceCollection: RelationshipSourceCollection {
/// Inserts the entity at a specific index. /// Inserts the entity at a specific index.
/// If the index is too large, the entity will be added to the end of the collection. /// If the index is too large, the entity will be added to the end of the collection.
fn insert(&mut self, index: usize, entity: Entity); fn insert(&mut self, index: usize, entity: Entity);
/// Removes the entity at the specified idnex if it exists. /// Removes the entity at the specified index if it exists.
fn remove_at(&mut self, index: usize) -> Option<Entity>; fn remove_at(&mut self, index: usize) -> Option<Entity>;
/// Inserts the entity at a specific index. /// Inserts the entity at a specific index.
/// This will never reorder other entities. /// This will never reorder other entities.
/// If the index is too large, the entity will be added to the end of the collection. /// If the index is too large, the entity will be added to the end of the collection.
fn insert_stable(&mut self, index: usize, entity: Entity); fn insert_stable(&mut self, index: usize, entity: Entity);
/// Removes the entity at the specified idnex if it exists. /// Removes the entity at the specified index if it exists.
/// This will never reorder other entities. /// This will never reorder other entities.
fn remove_at_stable(&mut self, index: usize) -> Option<Entity>; fn remove_at_stable(&mut self, index: usize) -> Option<Entity>;
/// Sorts the source collection. /// Sorts the source collection.