Skip to content

Commit 1abb59a

Browse files
authored
fix implied_bounds_entailment lint
1 parent 731d0a3 commit 1abb59a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ral.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use ral_registers::{RORegister, RWRegister, WORegister};
2727
pub(super) struct Static<T>(pub(super) *const T);
2828
impl<T> core::ops::Deref for Static<T> {
2929
type Target = T;
30-
fn deref(&self) -> &'static Self::Target {
30+
fn deref(&self) -> &Self::Target {
3131
// Safety: pointer points to static memory (peripheral memory)
3232
unsafe { &*self.0 }
3333
}

0 commit comments

Comments
 (0)