Address compilation warnings in the Nightly channel of Rust.

This commit is contained in:
Jacob Adam committed 2025-08-14 17:45:21 +01:00
1 parent 36a16db659
commit 718f2cb455
3 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ impl<W: Write + Seek, K: TiffKind> TiffEncoder<W, K> {
&mut self,
width: u32,
height: u32,
) -> TiffResult<ImageEncoder<W, C, K>> {
) -> TiffResult<ImageEncoder<'_, W, C, K>> {
let encoder = Self::chain_directory(&mut self.writer, &mut self.last_ifd_chain)?;
ImageEncoder::new(encoder, width, height, self.compression, self.predictor)
}