Fix all cargo clippy warnings across the workspace
Some checks failed
check / check (push) Failing after 53s

Removes genuinely dead code (unused import, no-op cast, an unused
PendingGrab accessor, and TmdbClient's TV-search methods now that TVDB
fully covers that path), tightens len()>0 checks to is_empty(), swaps
two fixed-size test vec!s for arrays, restructures a match to avoid an
unnecessary unwrap_err, fixes doc-comment list indentation, and hoists
a locked-connection call out of a match scrutinee. Struct fields/enum
variants that are still meaningful but not read by current callers
(TorrentInfo::save_path, GrabCycleStats::items_seen, X1337 fallback
route, BacklogCandidate::path) get #[allow(dead_code)] rather than
deletion, same for the two 8-argument functions (too_many_arguments).
This commit is contained in:
Breadway 2026-08-06 08:51:07 +08:00
parent 471ca884a6
commit 5543485976
9 changed files with 32 additions and 106 deletions

View file

@ -1,4 +1,3 @@
use anyhow::Result;
use serde::Serialize;
#[derive(Serialize)]