Skip to content

Commit

Permalink
Rollup merge of rust-lang#33402 - shepmaster:copied-variable-name, r=…
Browse files Browse the repository at this point in the history
…Manishearth

Replace copy-pasted variable name with relevant one
  • Loading branch information
steveklabnik committed May 5, 2016
2 parents e94a722 + a11ddb3 commit da36566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit da36566

Please sign in to comment.