Add missing + 'd
on unborrows.
This commit is contained in:
@ -15,8 +15,8 @@ pub struct I2c<'d, T: Instance> {
|
||||
impl<'d, T: Instance> I2c<'d, T> {
|
||||
pub fn new<F>(
|
||||
_peri: impl Unborrow<Target = T> + 'd,
|
||||
scl: impl Unborrow<Target = impl SclPin<T>>,
|
||||
sda: impl Unborrow<Target = impl SdaPin<T>>,
|
||||
scl: impl Unborrow<Target = impl SclPin<T>> + 'd,
|
||||
sda: impl Unborrow<Target = impl SdaPin<T>> + 'd,
|
||||
freq: F,
|
||||
) -> Self
|
||||
where
|
||||
|
Reference in New Issue
Block a user