summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/Cargo.toml2
-rw-r--r--wgpu/src/image/raster.rs2
2 files changed, 1 insertions, 3 deletions
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 <hector0193@gmail.com>"]
-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