treewide: clippy fixes

Fix all clippy warnings as of Rust 1.83.0.
This commit is contained in:
Matthias Schiffer 2024-12-17 00:23:57 +01:00
parent 2156bff59a
commit 4933d8e15f
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
7 changed files with 16 additions and 16 deletions

View file

@ -58,7 +58,7 @@ struct LayerEntry<'a> {
depth: &'a mut Option<BlockHeight>,
}
impl<'a> LayerEntry<'a> {
impl LayerEntry<'_> {
/// Returns true if the entry has not been filled yet (no opaque block has been encountered)
///
/// The depth value is filled separately when a non-water block is encountered after the block type