Skip to content

Commit af12915

Browse files
committed
Fix clippy warnings
1 parent c1403d4 commit af12915

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl Manifest {
172172
let entry = ZipEntryBuilder::new(
173173
location
174174
.as_ovveride()
175-
.join(&path.strip_prefix(path.parent().unwrap())?)
175+
.join(path.strip_prefix(path.parent().unwrap())?)
176176
.display()
177177
.to_string()
178178
.into(), // This is fine... right?

src/modrinth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl Client {
119119
pub async fn get_game_versions(&self) -> Result<Vec<GameVersion>> {
120120
let res = self
121121
.http_client
122-
.get(format!("https://api.modrinth.com/v2/tag/game_version"))
122+
.get("https://api.modrinth.com/v2/tag/game_version")
123123
.send()
124124
.await?
125125
.json()

0 commit comments

Comments
 (0)