Skip to content

Commit

Permalink
cargo clippy fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Sep 6, 2024
1 parent 2395848 commit e9107b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions pairing_api/examples/pairing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ use {
ConnectionOptions,
},
relay_rpc::{
auth::{ed25519_dalek::SigningKey, AuthToken}, domain::Topic, rpc::{
params::pairing::PairingResponseParamsSuccess,
Params,
Payload,
}
auth::{ed25519_dalek::SigningKey, AuthToken},
domain::Topic,
rpc::{params::pairing::PairingResponseParamsSuccess, Params, Payload},
},
std::{sync::Arc, time::Duration},
structopt::StructOpt,
Expand Down Expand Up @@ -195,8 +193,8 @@ async fn pair_from_uri(pairing_client: &PairingClient) -> Topic {
// name: "Example DApp".to_string(),
// };

// let (topic, uri) = pairing_client.try_create(metadata, None).await.unwrap();
// println!("pairing_uri: {uri}");
// let (topic, uri) = pairing_client.try_create(metadata,
// None).await.unwrap(); println!("pairing_uri: {uri}");

// topic
// }
2 changes: 1 addition & 1 deletion pairing_api/src/uri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub fn parse_wc_uri(uri: &str) -> Result<ParsedWcUri, ParseError> {
.as_str()
.to_owned();

(topic, version)
(topic, version)
};

let mut params = HashMap::new();
Expand Down

0 comments on commit e9107b7

Please sign in to comment.