We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
implied_bounds_entailment
1 parent 731d0a3 commit 1abb59aCopy full SHA for 1abb59a
1 file changed
src/ral.rs
@@ -27,7 +27,7 @@ use ral_registers::{RORegister, RWRegister, WORegister};
27
pub(super) struct Static<T>(pub(super) *const T);
28
impl<T> core::ops::Deref for Static<T> {
29
type Target = T;
30
- fn deref(&self) -> &'static Self::Target {
+ fn deref(&self) -> &Self::Target {
31
// Safety: pointer points to static memory (peripheral memory)
32
unsafe { &*self.0 }
33
}
0 commit comments