Skip to content

Commit

Permalink
Replace copy-pasted variable name with relevant one
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed May 4, 2016
1 parent 3157691 commit a11ddb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/slice.rs
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 a11ddb3

Please sign in to comment.