Skip to content

Commit

Permalink
Don't use too new Rust features
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Jan 25, 2024
1 parent 16fb4da commit a747e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amqprs/src/api/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ impl TryFrom<&str> for OpenConnectionArguments {
if scheme == AMQPS_SCHEME {
args.tls_adaptor(
TlsAdaptor::without_client_auth(None, host.to_string())
.map_err(|e| Error::UriError(format!("Error creating TLS adaptor: {e}")))?,
.map_err(|e| Error::UriError(format!("Error creating TLS adaptor: {}", e)))?,
);
}

Expand Down

0 comments on commit a747e6c

Please sign in to comment.