From 5ba1667fe7f7b756f61e39b87fb410cf70f1727a Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 9 Dec 2024 15:52:30 +0100 Subject: [PATCH 1/2] build: Remove nonexistent RIOT module with interior space This was an overlooked editing mistake from [137]. [137]: https://github.com/RIOT-OS/rust-riot-wrappers/pull/137 --- build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/build.rs b/build.rs index 3db1924..04b122f 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", From bffc13e20274eda25b692676ebacfad4e7ac045e Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 9 Dec 2024 15:54:18 +0100 Subject: [PATCH 2/2] Reformat with latest rustfmt --- src/coap_message/impl_0_3.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/coap_message/impl_0_3.rs b/src/coap_message/impl_0_3.rs index 39b8d49..db11a09 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()