]> git.lizzy.rs Git - rust.git/commitdiff
doc: "x" is used as variable name on this API, so avoid using it here
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 14 Jan 2016 18:54:49 +0000 (20:54 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 14 Jan 2016 18:54:49 +0000 (20:54 +0200)
src/liballoc/boxed.rs

index efc28be92a45b8e6c6b3d8afe4d3330a3d58e8e0..aa0665182ccfbd0f8cb3f51f09f48d6f818d301e 100644 (file)
@@ -227,7 +227,7 @@ impl<T> Box<T> {
     /// # Examples
     ///
     /// ```
-    /// let x = Box::new(5);
+    /// let five = Box::new(5);
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
     #[inline(always)]