fix confusing lifetime warning
This commit is contained in:
		| @@ -100,7 +100,7 @@ macro_rules! ShiftRegisterBuilder { | ||||
|             } | ||||
|  | ||||
|             /// Get embedded-hal output pins to control the shift register outputs | ||||
|             pub fn decompose(&self) -> [ShiftRegisterPin; $size] { | ||||
|             pub fn decompose(&self) -> [ShiftRegisterPin<'_>; $size] { | ||||
|                 // Create an uninitialized array of `MaybeUninit`. The `assume_init` is | ||||
|                 // safe because the type we are claiming to have initialized here is a | ||||
|                 // bunch of `MaybeUninit`s, which do not require initialization. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user