Merge branch 'tygyh/Resolve-all-'#-allow(clippy--len_zero)]'-error-supressions' into 'master'

Resolve all '#[allow(clippy::len_zero)]' error supressions

See merge request veloren/veloren!2633
This commit is contained in:
Marcel 2021-07-18 01:24:28 +00:00
commit 6e36c8b65c

View File

@ -748,7 +748,6 @@ impl<V: RectRasterableVol> Terrain<V> {
/// Maintain terrain data. To be called once per tick.
#[allow(clippy::for_loops_over_fallibles)] // TODO: Pending review in #587
#[allow(clippy::len_zero)] // TODO: Pending review in #587
pub fn maintain(
&mut self,
renderer: &mut Renderer,