tokio-xmpp: remove redundant pin from examples

This commit is contained in:
famfo 2026-02-03 01:47:46 +01:00 committed by pep
commit 366f2c8349

View file

@ -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 {