mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Replace copy-pasted variable name with relevant one
This commit is contained in:
parent
3157691f96
commit
a11ddb3727
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user