Skip to content

Commit

Permalink
Minor fixes in build script and formatting
Browse files Browse the repository at this point in the history
Merges: #140
  • Loading branch information
chrysn authored Dec 9, 2024
2 parents fa66f7f + bffc13e commit 38f2391
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 8 additions & 2 deletions src/coap_message/impl_0_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 38f2391

Please sign in to comment.