summaryrefslogtreecommitdiff
path: root/nrf-softdevice-macro
diff options
context:
space:
mode:
authoralexmoon <alex.r.moon@gmail.com>2022-07-13 15:27:22 -0400
committeralexmoon <alex.r.moon@gmail.com>2022-07-14 16:35:37 -0400
commitc95d4c1d7926729ec04f11821bcc2b5c3283c9a0 (patch)
tree05921d163b16b3e872765f9d57ca1f8b76ad2a2d /nrf-softdevice-macro
parentee22e26594b99b04fbd3ab56cf677fdfa74ea42a (diff)
downloadnrf-softdevice-c95d4c1d7926729ec04f11821bcc2b5c3283c9a0.zip
Update to 2021 edition
Diffstat (limited to 'nrf-softdevice-macro')
-rw-r--r--nrf-softdevice-macro/Cargo.toml2
-rw-r--r--nrf-softdevice-macro/src/lib.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/nrf-softdevice-macro/Cargo.toml b/nrf-softdevice-macro/Cargo.toml
index 81bbba8..ec14850 100644
--- a/nrf-softdevice-macro/Cargo.toml
+++ b/nrf-softdevice-macro/Cargo.toml
@@ -2,7 +2,7 @@
name = "nrf-softdevice-macro"
version = "0.1.0"
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-edition = "2018"
+edition = "2021"
[dependencies]
syn = { version = "1.0.39", features = ["full", "extra-traits"] }
diff --git a/nrf-softdevice-macro/src/lib.rs b/nrf-softdevice-macro/src/lib.rs
index cf324e1..f4bf13b 100644
--- a/nrf-softdevice-macro/src/lib.rs
+++ b/nrf-softdevice-macro/src/lib.rs
@@ -2,8 +2,6 @@
extern crate proc_macro;
-use std::iter::FromIterator;
-
use darling::FromMeta;
use proc_macro::TokenStream;
use proc_macro2::{Span, TokenStream as TokenStream2};