diff --git a/examples/coap/src/main.rs b/examples/coap/src/main.rs index c7ec871ad..253ce43f9 100644 --- a/examples/coap/src/main.rs +++ b/examples/coap/src/main.rs @@ -94,7 +94,7 @@ where R, ); - let mut handler = coap_message_demos::full_application_tree(log) + let handler = coap_message_demos::full_application_tree(log) .at( &["stdout"], coap_scroll_ring_server::BufferHandler::new(&buffer), diff --git a/examples/coap/src/udp_nal/mod.rs b/examples/coap/src/udp_nal/mod.rs index bd0ad3871..8464ef08b 100644 --- a/examples/coap/src/udp_nal/mod.rs +++ b/examples/coap/src/udp_nal/mod.rs @@ -78,7 +78,7 @@ impl<'a> ConnectedUdp<'a> { /// unconnected. pub async fn connect(socket: udp::UdpSocket<'a>, /*, ... */) -> Result { // This is really just a copy of the provided `embedded_nal::udp::UdpStack::connect` method - todo!() + todo!("use {:p}", &socket) } } diff --git a/src/lib/coapcore/src/seccontext.rs b/src/lib/coapcore/src/seccontext.rs index 396c75786..e4d1f5d84 100644 --- a/src/lib/coapcore/src/seccontext.rs +++ b/src/lib/coapcore/src/seccontext.rs @@ -615,7 +615,8 @@ impl<'a, H: coap_handler::Handler, L: Write, Crypto: lakers::Crypto> coap_handle self.log, "Got credential by value: {:?}..", &id_cred_i.value.get_slice(0, 5) - ); + ) + .unwrap(); cred_i = lakers::CredentialRPK::new(id_cred_i.value) // FIXME What kind of error do we send here?