Update ui/for_loop test output

This commit is contained in:
HMPerson1 2018-10-19 17:17:13 -04:00
parent 2e9172aea2
commit 553d01d9c7
No known key found for this signature in database
GPG Key ID: 1FB477DDD27821CE

View File

@ -97,8 +97,8 @@ error: the loop variable `j` is only used to index `STATIC`.
| ^^^^ | ^^^^
help: consider using an iterator help: consider using an iterator
| |
110 | for <item> in STATIC.iter().take(4) { 110 | for <item> in &STATIC {
| ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^ ^^^^^^^
error: the loop variable `j` is only used to index `CONST`. error: the loop variable `j` is only used to index `CONST`.
--> $DIR/for_loop.rs:114:14 --> $DIR/for_loop.rs:114:14
@ -107,8 +107,8 @@ error: the loop variable `j` is only used to index `CONST`.
| ^^^^ | ^^^^
help: consider using an iterator help: consider using an iterator
| |
114 | for <item> in CONST.iter().take(4) { 114 | for <item> in &CONST {
| ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ | ^^^^^^ ^^^^^^
error: the loop variable `i` is used to index `vec` error: the loop variable `i` is used to index `vec`
--> $DIR/for_loop.rs:118:14 --> $DIR/for_loop.rs:118:14