diff --git a/src/ral.rs b/src/ral.rs index 3713f20..d190cba 100644 --- a/src/ral.rs +++ b/src/ral.rs @@ -27,7 +27,7 @@ use ral_registers::{RORegister, RWRegister, WORegister}; pub(super) struct Static(pub(super) *const T); impl core::ops::Deref for Static { type Target = T; - fn deref(&self) -> &'static Self::Target { + fn deref(&self) -> &Self::Target { // Safety: pointer points to static memory (peripheral memory) unsafe { &*self.0 } }