]> git.lizzy.rs Git - rust.git/commitdiff
Change "Example" to "Examples" in the doc comments
authorMichael Howell <michael@notriddle.com>
Wed, 2 Aug 2017 17:58:27 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2017 17:58:27 +0000 (10:58 -0700)
src/libcore/cell.rs

index b250bf49e0c08cf0c3f90376fd2300d2674fd882..675fcef5e5ab5d47bfcf146c2b76b8e6ac347d99 100644 (file)
@@ -549,7 +549,7 @@ pub fn into_inner(self) -> T {
     ///
     /// This function corresponds to [`std::mem::replace`](../mem/fn.replace.html).
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```
     /// #![feature(refcell_replace_swap)]
@@ -575,7 +575,7 @@ pub fn replace(&self, t: T) -> T {
     ///
     /// This function corresponds to [`std::mem::swap`](../mem/fn.swap.html).
     ///
-    /// # Example
+    /// # Examples
     ///
     /// ```
     /// #![feature(refcell_replace_swap)]