Merge pull request #158 from izderadicka/suppress_dead_code_warnings
Mark dead code explicitly
This commit is contained in:
commit
91f03cb81d
5 changed files with 11 additions and 0 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue