From 93ceb6bdef9f15256ff89a1d9a333dbd04604dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 25 Dec 2021 13:10:10 +0100 Subject: [PATCH] Edition: Bump to 2021 --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ed6efbaadd..f67af6ff9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ authors = [ categories = ["concurrency", "embedded", "no-std"] description = "Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems" documentation = "https://rtic.rs/" -edition = "2018" +edition = "2021" keywords = ["arm", "cortex-m"] license = "MIT OR Apache-2.0" name = "cortex-m-rtic" diff --git a/src/lib.rs b/src/lib.rs index 5fe35a95e2..500993e5ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,6 +30,7 @@ //! [SemVer]: https://semver.org/spec/v2.0.0.html #![deny(missing_docs)] +#![deny(rust_2021_compatibility)] #![deny(rust_2018_compatibility)] #![deny(rust_2018_idioms)] #![no_std]