Update Rust edition to 2021 🎉

This commit is contained in:
Héctor Ramón Jiménez 2022-02-09 17:53:35 +07:00
parent 554e0a090e
commit adce9e0421
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
39 changed files with 39 additions and 41 deletions

View file

@ -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"

View file

@ -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