From 09a284e9592cc426b5a3c3b72b3f02c0c4844742 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 15 Apr 2024 21:48:10 +0200 Subject: [PATCH] stm32: rename mod traits to macros. --- embassy-stm32/src/lib.rs | 2 +- embassy-stm32/src/{traits.rs => macros.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename embassy-stm32/src/{traits.rs => macros.rs} (100%) diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index 1f0f85936..7d2b49ff4 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -15,8 +15,8 @@ mod fmt; include!(concat!(env!("OUT_DIR"), "/_macros.rs")); // Utilities +mod macros; pub mod time; -mod traits; /// Operating modes for peripherals. pub mod mode { trait SealedMode {} diff --git a/embassy-stm32/src/traits.rs b/embassy-stm32/src/macros.rs similarity index 100% rename from embassy-stm32/src/traits.rs rename to embassy-stm32/src/macros.rs