Use the now available implementation of IntoIterator
for arrays
This commit is contained in:
parent
a216131c35
commit
e3ca81fd5a
17 changed files with 34 additions and 34 deletions
|
@ -193,7 +193,7 @@ fn span_of_self_arg_pat_idents_are_correct() {
|
|||
"impl z { fn a (self: Foo, &myarg: i32) {} }",
|
||||
];
|
||||
|
||||
for &src in &srcs {
|
||||
for src in srcs {
|
||||
let spans = get_spans_of_pat_idents(src);
|
||||
let (lo, hi) = (spans[0].lo(), spans[0].hi());
|
||||
assert!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue