Skip to content

Commit 72315ab

Browse files
Transition to Edition 2021
We need to bump the MSRV to 1.60 anyway in later commits, so why not switch to the new edition.
1 parent d128281 commit 72315ab

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "atomig"
33
version = "0.3.3"
44
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
description = """
88
Generic and convenient `std` atomics via `Atomic<T>`. Can be used with many

atomig-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "atomig-macro"
33
version = "0.2.0"
44
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
description = """
88
Defines procedural macros for the crate `atomig`. Please see the main crate.

src/impls.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ impl Atom for char {
344344
self.into()
345345
}
346346
fn unpack(src: Self::Repr) -> Self {
347-
use core::convert::TryFrom;
348347
Self::try_from(src).expect("invalid value in <char as Atom>::unpack")
349348
}
350349
}

0 commit comments

Comments
 (0)