Skip to content

Commit

Permalink
remove unneeded mut
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachstec committed Feb 27, 2024
1 parent e3e7241 commit 4f3a337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/dangerous.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<'a> DangerousClientBuilder<'a> {
/// - Returns [`GinmiError::TransportError`] if the TLS-Settings are invalid.
/// - Returns [`GinmiError::TransportError`] if a connection to the target could not be
/// established.
pub async fn build(mut self) -> Result<Client<DangerousConnection>, GinmiError> {
pub async fn build(self) -> Result<Client<DangerousConnection>, GinmiError> {
// create a hyper HttpConnector
let mut http = HttpConnector::new();
http.enforce_http(false);
Expand Down

0 comments on commit 4f3a337

Please sign in to comment.