add PathBuf to readme lib
This commit is contained in:
parent
79a1e1106f
commit
b0125f7c27
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ This program will just download a simple torrent file with a Magnet link
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
use std::path::PathBuf;
|
||||||
use librqbit::session::{AddTorrentResponse, Session};
|
use librqbit::session::{AddTorrentResponse, Session};
|
||||||
|
|
||||||
const MAGNET_LINK: &str = "magnet:?..."; // Put your magnet link here
|
const MAGNET_LINK: &str = "magnet:?..."; // Put your magnet link here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue