Fix Clippy lints (#3494)

* chore: fix some Clippy lints

* chore(labrinth): more Clippy fixes
This commit is contained in:
Alejandro González authored and GitHub committed 2025-04-12 13:45:17 +00:00
1 parent 365367dd16
commit e008b657a5
6 files changed
+10 -13

No files matched your search

@@ -78,7 +78,7 @@ pub async fn import_curseforge(
let icon_bytes =
fetch(&thumbnail_url, None, &state.fetch_semaphore, &state.pool)
.await?;
let filename = thumbnail_url.rsplit('/').last();
let filename = thumbnail_url.rsplit('/').next_back();
if let Some(filename) = filename {
icon = Some(
write_cached_icon(