@@ -425,7 +425,7 @@ where
425425 ///
426426 /// Like `Vec::swap_remove`, the value is removed by swapping it with the
427427 /// 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!**
429429 ///
430430 /// Return `false` if `value` was not in the set.
431431 ///
@@ -473,7 +473,7 @@ where
473473 ///
474474 /// Like `Vec::swap_remove`, the value is removed by swapping it with the
475475 /// 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!**
477477 ///
478478 /// Return `None` if `value` was not in the set.
479479 ///
@@ -506,7 +506,7 @@ where
506506 ///
507507 /// Like `Vec::swap_remove`, the value is removed by swapping it with the
508508 /// 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!**
510510 ///
511511 /// Return `None` if `value` was not in the set.
512512 pub fn swap_remove_full < Q : ?Sized > ( & mut self , value : & Q ) -> Option < ( usize , T ) >
@@ -622,7 +622,7 @@ impl<T, S> IndexSet<T, S> {
622622 ///
623623 /// Like `Vec::swap_remove`, the value is removed by swapping it with the
624624 /// 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!**
626626 ///
627627 /// Computes in **O(1)** time (average).
628628 pub fn swap_remove_index ( & mut self , index : usize ) -> Option < T > {
0 commit comments