Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
constlhq committed Jul 18, 2024
1 parent f78f32a commit b9195dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/worker/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ impl<E: 'static> WorkerBuilder<E> {
) -> Result<Worker<BufStream<TokioStream>, E>, Error> {
let url = utils::parse_provided_or_from_env(url)?;
let stream = TokioStream::connect(utils::host_from_url(&url)).await?;
self.connect_with(stream, url.password().map(|p| p.to_string())).await
self.connect_with(stream, url.password().map(|p| p.to_string()))
.await
}
}

0 comments on commit b9195dc

Please sign in to comment.