Suppressed all existing clippy warnings in preparation for fixes as part of #587

This commit is contained in:
Ben Wallis
2020-06-10 20:47:36 +01:00
parent de849adf84
commit 950c62efc6
161 changed files with 375 additions and 7 deletions

View File

@ -31,6 +31,7 @@ impl<T> FromIterator<T> for Path<T> {
}
}
#[allow(clippy::len_without_is_empty)] // TODO: Pending review in #587
impl<T> Path<T> {
pub fn len(&self) -> usize { self.nodes.len() }
@ -151,6 +152,7 @@ impl Chaser {
}
}
#[allow(clippy::float_cmp)] // TODO: Pending review in #587
fn find_path<V>(
astar: &mut Option<Astar<Vec3<i32>, DefaultHashBuilder>>,
vol: &V,