@@ -277,7 +277,7 @@ pub trait SliceExt {
277277 ///
278278 /// Panics if `size` is 0.
279279 ///
280- /// # Example
280+ /// # Examples
281281 ///
282282 /// Print the adjacent pairs of a slice (i.e. `[1,2]`, `[2,3]`,
283283 /// `[3,4]`):
@@ -300,7 +300,7 @@ pub trait SliceExt {
300300 ///
301301 /// Panics if `size` is 0.
302302 ///
303- /// # Example
303+ /// # Examples
304304 ///
305305 /// Print the slice two elements at a time (i.e. `[1,2]`,
306306 /// `[3,4]`, `[5]`):
@@ -390,7 +390,7 @@ pub trait SliceExt {
390390 /// `Err` is returned, containing the index where a matching
391391 /// element could be inserted while maintaining sorted order.
392392 ///
393- /// # Example
393+ /// # Examples
394394 ///
395395 /// Looks up a series of four elements. The first is found, with a
396396 /// uniquely determined position; the second and third are not
@@ -416,7 +416,7 @@ pub trait SliceExt {
416416
417417 /// Return the number of elements in the slice
418418 ///
419- /// # Example
419+ /// # Examples
420420 ///
421421 /// ```
422422 /// let a = [1, 2, 3];
@@ -427,7 +427,7 @@ pub trait SliceExt {
427427
428428 /// Returns true if the slice has a length of 0
429429 ///
430- /// # Example
430+ /// # Examples
431431 ///
432432 /// ```
433433 /// let a = [1, 2, 3];
@@ -529,7 +529,7 @@ pub trait SliceExt {
529529 ///
530530 /// Panics if `a` or `b` are out of bounds.
531531 ///
532- /// # Example
532+ /// # Examples
533533 ///
534534 /// ```rust
535535 /// let mut v = ["a", "b", "c", "d"];
@@ -549,7 +549,7 @@ pub trait SliceExt {
549549 ///
550550 /// Panics if `mid > len`.
551551 ///
552- /// # Example
552+ /// # Examples
553553 ///
554554 /// ```rust
555555 /// let mut v = [1, 2, 3, 4, 5, 6];
@@ -578,7 +578,7 @@ pub trait SliceExt {
578578
579579 /// Reverse the order of elements in a slice, in place.
580580 ///
581- /// # Example
581+ /// # Examples
582582 ///
583583 /// ```rust
584584 /// let mut v = [1, 2, 3];
@@ -638,7 +638,7 @@ pub trait SliceExt {
638638 /// shorter of `self.len()` and `src.len()`). Returns the number
639639 /// of elements copied.
640640 ///
641- /// # Example
641+ /// # Examples
642642 ///
643643 /// ```rust
644644 /// let mut dst = [0, 0, 0];
@@ -676,7 +676,7 @@ pub trait SliceExt {
676676 /// `Err` is returned, containing the index where a matching
677677 /// element could be inserted while maintaining sorted order.
678678 ///
679- /// # Example
679+ /// # Examples
680680 ///
681681 /// Looks up a series of four elements. The first is found, with a
682682 /// uniquely determined position; the second and third are not
@@ -707,7 +707,7 @@ pub trait SliceExt {
707707 /// Returns `true` if successful and `false` if the slice is at the
708708 /// last-ordered permutation.
709709 ///
710- /// # Example
710+ /// # Examples
711711 ///
712712 /// ```rust
713713 /// let v: &mut [_] = &mut [0, 1, 2];
@@ -727,7 +727,7 @@ pub trait SliceExt {
727727 /// Returns `true` if successful and `false` if the slice is at the
728728 /// first-ordered permutation.
729729 ///
730- /// # Example
730+ /// # Examples
731731 ///
732732 /// ```rust
733733 /// let v: &mut [_] = &mut [1, 0, 2];
0 commit comments