diff --git a/build.rs b/build.rs index 3db19248..04b122fa 100644 --- a/build.rs +++ b/build.rs @@ -100,7 +100,6 @@ fn main() { "periph_uart_hw_fc", "periph_uart_modecfg", "periph_uart_nonblocking", - "periph_uart periph_uart_modecfg", "periph_uart_reconfigure", "periph_uart_rxstart_irq", "periph_uart_tx_ondemand", diff --git a/src/coap_message/impl_0_3.rs b/src/coap_message/impl_0_3.rs index 39b8d494..db11a096 100644 --- a/src/coap_message/impl_0_3.rs +++ b/src/coap_message/impl_0_3.rs @@ -46,8 +46,14 @@ impl<'b> WithSortedOptions for super::PacketBuffer<'b> { impl<'b> ReadableMessage for super::PacketBuffer<'b> { type Code = u8; - type OptionsIter<'a> = super::OptionsIterator<'a, 'b> where Self: 'a; - type MessageOption<'a> = super::MessageOption<'a> where Self: 'a; + type OptionsIter<'a> + = super::OptionsIterator<'a, 'b> + where + Self: 'a; + type MessageOption<'a> + = super::MessageOption<'a> + where + Self: 'a; fn code(&self) -> Self::Code { self.get_code_raw()