From d60f71895527287e40acd2e4bc3797d7c5d3bc3a Mon Sep 17 00:00:00 2001 From: pep Date: Wed, 29 Oct 2025 12:36:12 +0000 Subject: [PATCH] xmpp/example: Use unwrap instead of ignoring Result skip-changelog. Co-authored-by: Link Mauve Signed-off-by: pep --- xmpp/examples/hello_bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp/examples/hello_bot.rs b/xmpp/examples/hello_bot.rs index 877fabd70c3336268f36ae663652fe980668078c..716cf404898e538654c8e0abc9079eec94d06bb9 100644 --- a/xmpp/examples/hello_bot.rs +++ b/xmpp/examples/hello_bot.rs @@ -84,7 +84,7 @@ async fn main() -> Result<(), Option<()>> { }, _ = ctrl_c() => { log::info!("Disconnecting..."); - let _: Result<_, _> = client.disconnect().await; + client.disconnect().await.unwrap(); break; }, }