提交 769ec1e7 编写于 作者: S Steve Klabnik

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

Replace copy-pasted variable name with relevant one
...@@ -419,8 +419,8 @@ pub fn windows(&self, size: usize) -> Windows<T> { ...@@ -419,8 +419,8 @@ pub fn windows(&self, size: usize) -> Windows<T> {
/// ///
/// ```rust /// ```rust
/// let v = &[1, 2, 3, 4, 5]; /// let v = &[1, 2, 3, 4, 5];
/// for win in v.chunks(2) { /// for chunk in v.chunks(2) {
/// println!("{:?}", win); /// println!("{:?}", chunk);
/// } /// }
/// ``` /// ```
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册