1
Fork 0

Use the now available implementation of IntoIterator for arrays

This commit is contained in:
LeSeulArtichaut 2021-06-14 23:40:09 +02:00
parent a216131c35
commit e3ca81fd5a
17 changed files with 34 additions and 34 deletions

View file

@ -437,7 +437,7 @@ fn test_decode_str() {
("\"\\uAB12\"", "\u{AB12}"),
];
for &(i, o) in &s {
for (i, o) in s {
let v: string::String = json::decode(i).unwrap();
assert_eq!(v, o);
}