world/chunk: fix new Rust 1.86 clippy warning

This commit is contained in:
Matthias Schiffer 2025-04-03 18:37:36 +02:00
parent 58f2ff53b9
commit 69b62576ea
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -419,7 +419,7 @@ impl<'a> Iterator for SectionIter<'a> {
}
fn last(mut self) -> Option<Self::Item> {
self.with_iter(|iter| iter.last())
self.next_back()
}
}