Skip to content

Commit

Permalink
Format code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-ms committed May 8, 2024
1 parent 1ab0aac commit db2ef37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rumqttc/examples/sync_auth.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use bytes::Bytes;
use rumqttc::v5::mqttbytes::{v5::AuthProperties, QoS};
use rumqttc::v5::{Client, AuthManager, MqttOptions};
use rumqttc::v5::{AuthManager, Client, MqttOptions};
use std::error::Error;
use std::sync::{Arc, Mutex};
use std::thread;
Expand Down
3 changes: 2 additions & 1 deletion rumqttc/src/v5/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,8 @@ mod test {

#[test]
fn test_reauth() {
let (client, mut connection) = Client::new(MqttOptions::new("test-1", "localhost", 1883), 10);
let (client, mut connection) =
Client::new(MqttOptions::new("test-1", "localhost", 1883), 10);
let _ = client.reauth(None).expect("Should be able to reauth");
let _ = connection.iter().next().expect("Should have event");

Expand Down

0 comments on commit db2ef37

Please sign in to comment.