Nothing, small cleanups
This commit is contained in:
parent
ca11caf902
commit
bd0df49591
5 changed files with 87 additions and 53 deletions
|
|
@ -106,6 +106,7 @@ impl ApiInternal {
|
|||
.torrent_state()
|
||||
.info()
|
||||
.iter_filenames_and_lengths()
|
||||
.unwrap()
|
||||
.map(|(filename_it, length)| {
|
||||
let name = filename_it.to_string().ok();
|
||||
TorrentDetailsResponseFile { name, length }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue