From 7ed037cba83695fcc5510779f9374e5a5756c6d1 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Fri, 6 Dec 2024 11:30:04 +0000 Subject: [PATCH] comments --- crates/librqbit/src/torrent_state/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/librqbit/src/torrent_state/mod.rs b/crates/librqbit/src/torrent_state/mod.rs index 15ec11f..137618b 100644 --- a/crates/librqbit/src/torrent_state/mod.rs +++ b/crates/librqbit/src/torrent_state/mod.rs @@ -182,7 +182,9 @@ pub struct ManagedTorrentShared { } pub struct ManagedTorrent { + // Static torrent configuration that doesn't change. pub shared: Arc, + // Torrent metadata. Maybe be None when the magnet is resolving. pub metadata: ArcSwapOption, pub(crate) state_change_notify: Notify, pub(crate) locked: RwLock,