Fewer unwraps

This commit is contained in:
Igor Katson 2024-03-30 11:46:29 +00:00
parent 8402a821ad
commit 9722dd8cb7
4 changed files with 32 additions and 21 deletions

View file

@ -127,7 +127,8 @@ impl TorrentStateInitializing {
initial_check_results.have_pieces,
self.meta.lengths,
initial_check_results.total_selected_bytes,
);
)
.context("error creating chunk tracker")?;
let paused = TorrentStatePaused {
info: self.meta.clone(),