about summary refs log tree commit diff
path: root/src/libcollections/slice.rs
diff options
context:
space:
mode:
authorjbranchaud <jbranchaud@gmail.com>2014-12-08 23:28:07 -0600
committerjbranchaud <jbranchaud@gmail.com>2014-12-08 23:28:07 -0600
commitc09defa070391cb4e674574ea262b4a1e4d903f8 (patch)
tree95136dc6be9274fd14f501172e062dbc91d8d241 /src/libcollections/slice.rs
parenteacbd296fa153f809038a27898290638bd0b2b35 (diff)
downloadrust-c09defa070391cb4e674574ea262b4a1e4d903f8.tar.gz
rust-c09defa070391cb4e674574ea262b4a1e4d903f8.zip
Change 'Example' to 'Examples' throughout collections' rustdocs.
Diffstat (limited to 'src/libcollections/slice.rs')
-rw-r--r--src/libcollections/slice.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs
index 03b8ea8f20f..96d3ecb4d67 100644
--- a/src/libcollections/slice.rs
+++ b/src/libcollections/slice.rs
@@ -297,7 +297,7 @@ pub trait CloneSliceAllocPrelude<T> for Sized? {
     /// Creates an iterator that yields every possible permutation of the
     /// vector in succession.
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```rust
     /// let v = [1i, 2, 3];
@@ -308,7 +308,7 @@ pub trait CloneSliceAllocPrelude<T> for Sized? {
     /// }
     /// ```
     ///
-    /// # Example 2: iterating through permutations one by one.
+    /// Iterating through permutations one by one.
     ///
     /// ```rust
     /// let v = [1i, 2, 3];
@@ -567,7 +567,7 @@ pub trait OrdSliceAllocPrelude<T> for Sized? {
     ///
     /// This is equivalent to `self.sort_by(|a, b| a.cmp(b))`.
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```rust
     /// let mut v = [-5i, 4, 1, -3, 2];
@@ -596,7 +596,7 @@ pub trait SliceAllocPrelude<T> for Sized? {
     /// This sort is `O(n log n)` worst-case and stable, but allocates
     /// approximately `2 * n`, where `n` is the length of `self`.
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```rust
     /// let mut v = [5i, 4, 1, 3, 2];
@@ -621,7 +621,7 @@ pub trait SliceAllocPrelude<T> for Sized? {
     /// * start - The index into `src` to start copying from
     /// * end - The index into `src` to stop copying from
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```rust
     /// let mut a = [1i, 2, 3, 4, 5];