rust/mapgen/src/lib.rs
branchtransitional_engine
changeset 16064 0caa3dfb3ba2
parent 16062 1860852892c0
equal deleted inserted replaced
16063:09beeec033ba 16064:0caa3dfb3ba2
   187             .template_types
   187             .template_types
   188             .into_iter()
   188             .into_iter()
   189             .map(|(size, indices)| {
   189             .map(|(size, indices)| {
   190                 (
   190                 (
   191                     TemplateType(size),
   191                     TemplateType(size),
   192                     indices.indices.iter().map(|i| (&templates[*i]).into()).collect(),
   192                     indices.iter().map(|i| (&templates[*i]).into()).collect(),
   193                 )
   193                 )
   194             })
   194             })
   195             .collect();
   195             .collect();
   196     }
   196     }
   197 
   197