From 366f2c8349c8b2b8b9423215591d61b0d4210567 Mon Sep 17 00:00:00 2001 From: famfo Date: Tue, 3 Feb 2026 01:47:46 +0100 Subject: [PATCH] tokio-xmpp: remove redundant pin from examples --- tokio-xmpp/examples/contact_addr.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tokio-xmpp/examples/contact_addr.rs b/tokio-xmpp/examples/contact_addr.rs index 2796f000..b8bc513a 100644 --- a/tokio-xmpp/examples/contact_addr.rs +++ b/tokio-xmpp/examples/contact_addr.rs @@ -31,13 +31,12 @@ async fn main() { // Client instance let mut client = Client::new(jid, password); - let token = client + let mut token = client .send_iq( Some(target), IqRequest::Get(DiscoInfoQuery { node: None }.into()), ) .await; - tokio::pin!(token); // Main loop, processes events loop {