diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-01-14 20:54:49 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-01-14 20:54:49 +0200 |
| commit | 80d2be947e9272a7ba87b7657d4d5c2ed6abd615 (patch) | |
| tree | 96118e90f644817c4efd9519c748409a86076d7e /src/liballoc | |
| parent | 02fbf31fb26e0b5eccf34cef8a5f8becef6f3ada (diff) | |
| download | rust-80d2be947e9272a7ba87b7657d4d5c2ed6abd615.tar.gz rust-80d2be947e9272a7ba87b7657d4d5c2ed6abd615.zip | |
doc: "x" is used as variable name on this API, so avoid using it here
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> Box<T> { /// # Examples /// /// ``` - /// let x = Box::new(5); + /// let five = Box::new(5); /// ``` #[stable(feature = "rust1", since = "1.0.0")] #[inline(always)] |
