Skip to content

Commit b279fa0

Browse files
committed
Migrate to Rust 2021.
- Remove TryFrom and TryInto, which are in the prelude in Rust 2021.
1 parent fcf908b commit b279fa0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "exif"
33
version = "0.5.5"
44
authors = ["KAMADA Ken'ichi <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
rust-version = "1.60"
77

88
description = "Exif parsing library written in pure Rust"

src/isobmff.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// SUCH DAMAGE.
2525
//
2626

27-
use std::convert::{TryFrom as _, TryInto as _};
2827
use std::io::{BufRead, ErrorKind, Seek, SeekFrom};
2928

3029
use crate::endian::{Endian, BigEndian};

0 commit comments

Comments
 (0)