Fix other warnings

O01eg
Jul 28, 2022, 9:45 AM
T5VMNBHRAIXCQAQUMMJDJAL6Z4422GG4MLAO4IRI4RGB6J3HF36QC

Dependencies

  • [2] GVI6M6SC Send ping to custom jid
  • [3] TGO4TIWU Fix README
  • [4] RNQTHBRI Accept all previous HTTP API
  • [5] OX5ZPQRF Update tokio to 1.*
  • [6] EVIOKGS2 Don''t break threads and channel after disconnection
  • [7] 3RMEABMU Prepare to add HTTP API to ping cutom jids
  • [8] S7A7LHUN Fix some warnings

Change contents

  • replacement in src/xmpp/xmpp_connection.rs at line 575
    [3.15120][3.15120:15163]()
    Err(account) => {}
    [3.15120]
    [3.15163]
    Err(_account) => {}
  • replacement in src/xmpp/xmpp_connection.rs at line 884
    [3.24232][3.24232:24318]()
    Either::Left((stop, s)) => break (Ok(self), Either::Right(stop)),
    [3.24232]
    [3.24318]
    Either::Left((stop, _s)) => break (Ok(self), Either::Right(stop)),
  • replacement in src/xmpp/xmpp_connection.rs at line 960
    [3.27991][3.27991:28048]()
    Either::Left(((), send_future)) => None,
    [3.27991]
    [3.28048]
    Either::Left(((), _send_future)) => None,
  • replacement in src/xmpp/mod.rs at line 39
    [3.40136][3.40136:40201]()
    (Ok(conn), Either::Right(None)) => break Ok(()),
    [3.40136]
    [3.40201]
    (Ok(_conn), Either::Right(None)) => break Ok(()),
  • replacement in src/xmpp/mod.rs at line 49
    [3.40590][3.40590:40655]()
    (Err(acc), Either::Right(None)) => break Ok(()),
    [3.40590]
    [3.40655]
    (Err(_acc), Either::Right(None)) => break Ok(()),
  • replacement in src/main.rs at line 158
    [3.1212][2.2230:2288]()
    Err(e) => Response::builder()
    [3.1212]
    [2.2288]
    Err(_) => Response::builder()
  • replacement in src/main.rs at line 192
    [3.2841][3.2841:2895]()
    Err(e) => Response::builder()
    [3.2841]
    [3.2895]
    Err(_) => Response::builder()
  • replacement in src/main.rs at line 221
    [3.4403][3.4403:4457]()
    Err(e) => Response::builder()
    [3.4403]
    [3.4457]
    Err(_) => Response::builder()