Rollup merge of #33402 - shepmaster:copied-variable-name, r=Manishearth

Replace copy-pasted variable name with relevant one
This commit is contained in:
Steve Klabnik 2016-05-07 15:35:17 -04:00
commit 769ec1e743

View File

@ -419,8 +419,8 @@ impl<T> [T] {
///
/// ```rust
/// let v = &[1, 2, 3, 4, 5];
/// for win in v.chunks(2) {
/// println!("{:?}", win);
/// for chunk in v.chunks(2) {
/// println!("{:?}", chunk);
/// }
/// ```
#[stable(feature = "rust1", since = "1.0.0")]