Skip to content

Commit b3950b7

Browse files
committed
Rollup merge of #30909 - tshepang:a-better-name, r=steveklabnik
For a moment, I got confused by thinking the summary was referring to the same `x`
2 parents f1a0fd1 + 80d2be9 commit b3950b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl<T> Box<T> {
227227
/// # Examples
228228
///
229229
/// ```
230-
/// let x = Box::new(5);
230+
/// let five = Box::new(5);
231231
/// ```
232232
#[stable(feature = "rust1", since = "1.0.0")]
233233
#[inline(always)]

0 commit comments

Comments
 (0)