1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

update codegen

This commit is contained in:
Robin Appelman 2021-02-12 23:09:26 +01:00
commit b9c58b1adf
4 changed files with 389 additions and 468 deletions

View file

@ -372,7 +372,7 @@ pub fn generate_game_events(demo: Demo) -> TokenStream {
}
}
pub fn get_sizes() -> std::collections::hash_map::HashMap<&'static str, usize> {
pub fn get_sizes() -> fnv::FnvHashMap<&'static str, usize> {
vec![
#(#sizes,)*
].into_iter().collect()