@@ -425,7 +425,7 @@ where
425
425
///
426
426
/// Like `Vec::swap_remove`, the value is removed by swapping it with the
427
427
/// last element of the set and popping it off. **This perturbs
428
- /// the postion of what used to be the last element!**
428
+ /// the position of what used to be the last element!**
429
429
///
430
430
/// Return `false` if `value` was not in the set.
431
431
///
@@ -473,7 +473,7 @@ where
473
473
///
474
474
/// Like `Vec::swap_remove`, the value is removed by swapping it with the
475
475
/// last element of the set and popping it off. **This perturbs
476
- /// the postion of what used to be the last element!**
476
+ /// the position of what used to be the last element!**
477
477
///
478
478
/// Return `None` if `value` was not in the set.
479
479
///
@@ -506,7 +506,7 @@ where
506
506
///
507
507
/// Like `Vec::swap_remove`, the value is removed by swapping it with the
508
508
/// last element of the set and popping it off. **This perturbs
509
- /// the postion of what used to be the last element!**
509
+ /// the position of what used to be the last element!**
510
510
///
511
511
/// Return `None` if `value` was not in the set.
512
512
pub fn swap_remove_full < Q : ?Sized > ( & mut self , value : & Q ) -> Option < ( usize , T ) >
@@ -622,7 +622,7 @@ impl<T, S> IndexSet<T, S> {
622
622
///
623
623
/// Like `Vec::swap_remove`, the value is removed by swapping it with the
624
624
/// last element of the set and popping it off. **This perturbs
625
- /// the postion of what used to be the last element!**
625
+ /// the position of what used to be the last element!**
626
626
///
627
627
/// Computes in **O(1)** time (average).
628
628
pub fn swap_remove_index ( & mut self , index : usize ) -> Option < T > {
0 commit comments