mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-16 03:19:07 +02:00
treewide: clippy fixes
Fix all clippy warnings as of Rust 1.83.0.
This commit is contained in:
parent
2156bff59a
commit
4933d8e15f
7 changed files with 16 additions and 16 deletions
|
@ -74,7 +74,7 @@ impl<'a, P> MapMerger<'a, P> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, P: image::PixelWithColorType> TileMerger for MapMerger<'a, P>
|
||||
impl<P: image::PixelWithColorType> TileMerger for MapMerger<'_, P>
|
||||
where
|
||||
[P::Subpixel]: image::EncodableLayout,
|
||||
image::ImageBuffer<P, Vec<P::Subpixel>>: Into<image::DynamicImage>,
|
||||
|
@ -157,7 +157,7 @@ pub struct TileMipmapper<'a> {
|
|||
regions: &'a [TileCoords],
|
||||
}
|
||||
|
||||
impl<'a> TileCollector for TileMipmapper<'a> {
|
||||
impl TileCollector for TileMipmapper<'_> {
|
||||
type CollectOutput = MipmapStat;
|
||||
|
||||
fn tiles(&self) -> &[TileCoords] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue