Skip to content

Commit

Permalink
another round of clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Aug 28, 2023
1 parent 765f5e5 commit 17de9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry/src/transports/surf.rs
Expand Up @@ -32,7 +32,7 @@ impl SurfHttpTransport {
}

fn new_internal(options: &ClientOptions, client: Option<SurfClient>) -> Self {
let mut client = client.unwrap_or_else(SurfClient::new);
let mut client = client.unwrap_or_default();
if options.accept_invalid_certs {
let hc = HttpClient::builder()
.ssl_options(SslOption::DANGER_ACCEPT_INVALID_CERTS)
Expand Down

0 comments on commit 17de9b1

Please sign in to comment.