Skip to content
Snippets Groups Projects
Commit 892c4efb authored by Kevin Balz's avatar Kevin Balz
Browse files

Updated to rust nightly

parent bbdd29a2
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ impl Object {
let pairs = s.split(' ');
let mut points = Vec::new();
for v in pairs.map(|&:p| p.splitn(1, ',')) {
let v: Vec<&str> = v.clone().collect();
let v: Vec<&str> = v.collect();
if v.len() != 2 {
return Err(TiledError::MalformedAttributes("one of a polyline's points does not have an x and y coordinate".to_string()));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment