This commit is contained in:
Zynh0722 2024-04-24 07:40:49 -07:00
parent ce58011eb1
commit 3f8a061404

View file

@ -102,7 +102,7 @@ fn main() {
insert_airports_from_record(&mut airports, record); insert_airports_from_record(&mut airports, record);
} }
let code_to_id: HashMap<String, usize> = HashMap::from_iter( let _code_to_id: HashMap<String, usize> = HashMap::from_iter(
airports airports
.iter() .iter()
.map(|(id, airport)| (airport.code.clone(), *id)), .map(|(id, airport)| (airport.code.clone(), *id)),