(kvs: Vec<(&str, i32)>)
| 591 | // testing the fn `input_field_combinations`. |
| 592 | |
| 593 | fn ifc_input(kvs: Vec<(&str, i32)>) -> MetadataFields { |
| 594 | kvs.into_iter() |
| 595 | .map(|(k, v)| (k.to_owned(), FieldValue::Int(v))) |
| 596 | .collect() |
| 597 | } |
| 598 | |
| 599 | fn ifc_sort_result(result: &mut Vec<HashMap<&str, &FieldValue>>) { |
| 600 | result.sort_by_key(|c| { |
no outgoing calls