diff --git a/src/lib.rs b/src/lib.rs index 46c4475..7316a13 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -558,7 +558,7 @@ pub fn run(config: Config, rle: Option) -> Result<()> { } .map_err(Error::Read)?; - let mut agents: Vec = Vec::new(); + let mut agents = Vec::::new(); for _ in 0..config.gen_depth { let mut pop = Population::new(&config, map.clone());