Skip to content

Commit 2099789

Browse files
committed
Merge #562: Update Cargo Deps
f4c762b chore: update cargo deps (Cameron Garnham) 911708c chore: fixup clippy and spelling (Cameron Garnham) Pull request description: ``` Updating crates.io index Updating ahash v0.8.6 -> v0.8.7 Updating async-trait v0.1.75 -> v0.1.76 Updating axum v0.7.2 -> v0.7.3 Updating axum-core v0.4.1 -> v0.4.2 Updating clap v4.4.11 -> v4.4.12 Updating clap_builder v4.4.11 -> v4.4.12 Updating deranged v0.3.10 -> v0.3.11 Updating iana-time-zone v0.1.58 -> v0.1.59 Updating is-terminal v0.4.9 -> v0.4.10 Updating memchr v2.6.4 -> v2.7.1 Updating proc-macro2 v1.0.71 -> v1.0.72 Updating schannel v0.1.22 -> v0.1.23 Updating serde_bytes v0.11.12 -> v0.11.13 Updating tempfile v3.8.1 -> v3.9.0 Updating thiserror v1.0.52 -> v1.0.53 Updating thiserror-impl v1.0.52 -> v1.0.53 Updating windows-core v0.51.1 -> v0.52.0 Updating winnow v0.5.30 -> v0.5.31 ``` ACKs for top commit: da2ce7: ACK f4c762b Tree-SHA512: 6896ec112805ef67c267b6a8466e7b0f400ed3cbebea78c0c24eeb2c037f329c2507525f4f1f8bef44608e126457790b7faac9a38835cff2454941c4f51d2440
2 parents 933eacb + f4c762b commit 2099789

File tree

3 files changed

+47
-46
lines changed

3 files changed

+47
-46
lines changed

Cargo.lock

Lines changed: 44 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cSpell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
"Xtorrent",
130130
"Xunlei",
131131
"xxxxxxxxxxxxxxxxxxxxd",
132-
"yyyyyyyyyyyyyyyyyyyyd"
132+
"yyyyyyyyyyyyyyyyyyyyd",
133+
"nvCFlJCq7fz7Qx6KoKTDiMZvns8l5Kw7"
133134
],
134135
"enableFiletypes": [
135136
"dockerfile",

src/core/services/torrent.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ pub async fn get_torrent_info(tracker: Arc<Tracker>, info_hash: &InfoHash) -> Op
9797

9898
let torrent_entry_option = db.get(info_hash);
9999

100-
let Some(torrent_entry) = torrent_entry_option else {
101-
return None;
102-
};
100+
let torrent_entry = torrent_entry_option?;
103101

104102
let (seeders, completed, leechers) = torrent_entry.get_stats();
105103

0 commit comments

Comments
 (0)