From adce9e04213803bd775538efddf6e7908d1c605e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 9 Feb 2022 17:53:35 +0700 Subject: Update Rust edition to 2021 :tada: --- wgpu/Cargo.toml | 2 +- wgpu/src/image/raster.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'wgpu') diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 46012ea7..b4173413 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -2,7 +2,7 @@ name = "iced_wgpu" version = "0.4.0" authors = ["Héctor Ramón Jiménez "] -edition = "2018" +edition = "2021" description = "A wgpu renderer for Iced" license = "MIT AND OFL-1.1" repository = "https://github.com/iced-rs/iced" diff --git a/wgpu/src/image/raster.rs b/wgpu/src/image/raster.rs index e13987b4..ec5e911f 100644 --- a/wgpu/src/image/raster.rs +++ b/wgpu/src/image/raster.rs @@ -163,8 +163,6 @@ impl Operation { where R: std::io::BufRead + std::io::Seek, { - use std::convert::TryFrom; - let exif = exif::Reader::new().read_from_container(reader)?; Ok(exif -- cgit