Skip to content

Commit cd67030

Browse files
committed
Fix clippy and add files to gitignore
1 parent b1e9f5d commit cd67030

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ target/
22
.env
33
.DS_Store
44
__pycache__/
5+
*.review.json
6+
*.try.json

src/permissions.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,8 @@ impl TeamApiClient {
105105
match &self.team_source {
106106
TeamSource::Url(base_url) => {
107107
let normalized_name = repository_name.replace('-', "_");
108-
let url = format!(
109-
"{}/v1/permissions/bors.{normalized_name}.{permission}.json",
110-
base_url
111-
);
108+
let url =
109+
format!("{base_url}/v1/permissions/bors.{normalized_name}.{permission}.json",);
112110
let users = reqwest::get(url)
113111
.await
114112
.and_then(|res| res.error_for_status())

0 commit comments

Comments
 (0)