Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: zu1k <[email protected]>
  • Loading branch information
zu1k committed May 22, 2022
1 parent 2d96faa commit 38ec456
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/bind_connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ impl Connector for BindConnector {
}

pub fn main() {
let agent = ureq::builder().connector(BindConnector::new_bind("127.0.0.1:54321".parse().unwrap())).build();
let agent = ureq::builder()
.connector(BindConnector::new_bind("127.0.0.1:54321".parse().unwrap()))
.build();

let result = agent.get("http://127.0.0.1:8080/").call();

Expand Down

0 comments on commit 38ec456

Please sign in to comment.