Clippy fixes

This commit is contained in:
Dennis 2024-06-05 19:19:36 +02:00
parent 9003881a77
commit aa1b47c596
No known key found for this signature in database
GPG Key ID: 6937EAEA33A3FA5D

View File

@ -49,7 +49,7 @@ fn set_node_locations(world: &mut OSRMWorld, step: &Step) {
); );
// the following lookup allows to define lat lon columns in any order // the following lookup allows to define lat lon columns in any order
let header_lookup: HashMap<&str, usize> = header let header_lookup: HashMap<&str, usize> = header
.into_iter() .iter()
.enumerate() .enumerate()
.map(|(index, name)| (name.as_str(), index)) .map(|(index, name)| (name.as_str(), index))
.collect(); .collect();
@ -287,6 +287,6 @@ fn main() {
future::ready(()).boxed() future::ready(()).boxed()
}) })
.with_writer(DotWriter.normalized()) .with_writer(DotWriter.normalized())
.run("features/nearest/pick.feature"), .run("features/nearest/projection.feature"),
); );
} }