mirror of https://github.com/rwf2/Rocket.git
Call iter() instead of into_iter() on arrays (rust-lang/rust#66145).
This commit is contained in:
parent
22442313a7
commit
e04bceb81e
|
@ -72,7 +72,7 @@ fn test_bad_form_missing_fields() {
|
|||
"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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue