From 80d2be947e9272a7ba87b7657d4d5c2ed6abd615 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 14 Jan 2016 20:54:49 +0200 Subject: [PATCH] doc: "x" is used as variable name on this API, so avoid using it here --- src/liballoc/boxed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index efc28be92a4..aa0665182cc 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -227,7 +227,7 @@ impl Box { /// # Examples /// /// ``` - /// let x = Box::new(5); + /// let five = Box::new(5); /// ``` #[stable(feature = "rust1", since = "1.0.0")] #[inline(always)] -- 2.44.0