Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
patriksvensson committed Mar 13, 2020
1 parent dd41520 commit 696db69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/collectors/azure/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl AzureDevOpsCredentials {
match self {
AzureDevOpsCredentials::Anonymous => builder,
AzureDevOpsCredentials::PersonalAccessToken(token) => {
(builder.basic_auth("", Some(token)))
builder.basic_auth("", Some(token))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/providers/collectors/teamcity/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl TeamCityAuth {
return match self {
TeamCityAuth::Guest => builder,
TeamCityAuth::BasicAuth { username, password } => {
(builder.basic_auth(username, Some(password)))
builder.basic_auth(username, Some(password))
}
};
}
Expand Down

0 comments on commit 696db69

Please sign in to comment.