blob: 0ebd20d4e81cca7f5c8328b417bc99c7c72e0bb2 [file] [log] [blame]
fn main() {
// ANCHOR: here
use std::collections::HashMap;
let teams = vec![String::from("Blue"), String::from("Yellow")];
let initial_scores = vec![10, 50];
let mut scores: HashMap<_, _> =
teams.into_iter().zip(initial_scores.into_iter()).collect();
// ANCHOR_END: here
}