doc: "x" is used as variable name on this API, so avoid using it here

This commit is contained in:
Tshepang Lekhonkhobe 2016-01-14 20:54:49 +02:00
parent 02fbf31fb2
commit 80d2be947e

View 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)]