diff --git a/src/lib.rs b/src/lib.rs index aefa811..99fa537 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -549,7 +549,7 @@ impl TransClient { /// # Panics /// Either metainfo or torrent filename must be set or this call will panic. /// - pub async fn torrent_add(&mut self, add: TorrentAddArgs) -> Result> { + pub async fn torrent_add(&mut self, add: TorrentAddArgs) -> Result> { assert!( !(add.metainfo == None && add.filename == None), "Metainfo or Filename should be provided"