Call iter() instead of into_iter() on arrays (rust-lang/rust#66145).

This commit is contained in:
Jeb Rosen 2019-11-28 12:40:00 -08:00
parent 22442313a7
commit e04bceb81e
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ fn test_bad_form_missing_fields() {
"password=pass&age=30" "password=pass&age=30"
]; ];
for bad_input in bad_inputs.into_iter() { for bad_input in bad_inputs.iter() {
check_bad_form(bad_input, Status::UnprocessableEntity); check_bad_form(bad_input, Status::UnprocessableEntity);
} }
} }