File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 7972fbb735ee49377e22096a1f7fc9c4bae0e289
32
+ refs/heads/stable: 331821e3a0cceef5b3a3270a2af384460d0a0bdb
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
Original file line number Diff line number Diff line change @@ -3192,7 +3192,7 @@ for_expr : [ lifetime ':' ] "for" pat "in" no_struct_literal_expr '{' block '}'
3192
3192
```
3193
3193
3194
3194
A ` for ` expression is a syntactic construct for looping over elements provided
3195
- by an implementation of ` std::iter::Iterator ` .
3195
+ by an implementation of ` std::iter::IntoIterator ` .
3196
3196
3197
3197
An example of a for loop over the contents of an array:
3198
3198
@@ -3205,8 +3205,8 @@ An example of a for loop over the contents of an array:
3205
3205
3206
3206
let v: &[Foo] = &[a, b, c];
3207
3207
3208
- for e in v.iter() {
3209
- bar(* e);
3208
+ for e in v {
3209
+ bar(e);
3210
3210
}
3211
3211
```
3212
3212
You can’t perform that action at this time.
0 commit comments