Merge pull request #158 from izderadicka/suppress_dead_code_warnings

Mark dead code explicitly
This commit is contained in:
Igor Katson 2024-08-02 09:00:33 +01:00 committed by GitHub
commit 91f03cb81d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 0 deletions

View file

@ -150,7 +150,9 @@ impl TorrentStateLocked {
#[derive(Default)]
pub struct TorrentStateOptions {
#[allow(dead_code)]
pub peer_connect_timeout: Option<Duration>,
#[allow(dead_code)]
pub peer_read_write_timeout: Option<Duration>,
}