Skip to content

Commit

Permalink
Cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Jan 25, 2024
1 parent cff5384 commit a268535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/tests/matching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async fn create_session_pair(locator: &str) -> Result<(Session, Session)> {
.unwrap();
config
};
let config2 = zenoh::config::client([Locator::from_str(&locator)?]);
let config2 = zenoh::config::client([Locator::from_str(locator)?]);

let session1 = ztimeout!(zenoh::open(config1).res_async())?;
let session2 = ztimeout!(zenoh::open(config2).res_async())?;
Expand Down

0 comments on commit a268535

Please sign in to comment.