Skip to content

Commit 4b55786

Browse files
committed
Fix Clippy
1 parent 0c58e39 commit 4b55786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/static_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ impl<'a> Generator<'a> {
163163
}
164164

165165
fn generate_teams(&self) -> Result<(), Error> {
166-
let teams = convert_teams(&self.data, self.data.teams())?;
166+
let teams = convert_teams(self.data, self.data.teams())?;
167167
for (name, team) in &teams {
168168
self.add(&format!("v1/teams/{name}.json"), team)?;
169169
}
170170
self.add("v1/teams.json", &v1::Teams { teams })?;
171171

172-
let archived_teams = convert_teams(&self.data, self.data.archived_teams())?;
172+
let archived_teams = convert_teams(self.data, self.data.archived_teams())?;
173173
for (name, team) in &archived_teams {
174174
self.add(&format!("v1/archived-teams/{name}.json"), team)?;
175175
}

0 commit comments

Comments
 (0)