rust/mapgen/src/lib.rs
branchtransitional_engine
changeset 16035 0caa3dfb3ba2
parent 16033 1860852892c0
equal deleted inserted replaced
16034:09beeec033ba 16035: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