diff --git a/embassy-lora/src/lib.rs b/embassy-lora/src/lib.rs index 47b281ab16..7c718d062d 100644 --- a/embassy-lora/src/lib.rs +++ b/embassy-lora/src/lib.rs @@ -1,7 +1,6 @@ #![no_std] #![feature(async_fn_in_trait)] -#[cfg(feature = "stm32wl")] -#![feature(try_blocks)] +#![cfg_attr(feature = "stm32wl", feature(try_blocks))] //! embassy-lora holds LoRa-specific functionality. pub(crate) mod fmt;