Clippy
This commit is contained in:
parent
2061fe56bb
commit
487ff50bd7
5 changed files with 28 additions and 16 deletions
|
|
@ -27,12 +27,10 @@ impl Magnet {
|
|||
}
|
||||
}
|
||||
match info_hash {
|
||||
Some(info_hash) => {
|
||||
return Ok(Magnet {
|
||||
info_hash,
|
||||
trackers,
|
||||
})
|
||||
}
|
||||
Some(info_hash) => Ok(Magnet {
|
||||
info_hash,
|
||||
trackers,
|
||||
}),
|
||||
None => {
|
||||
anyhow::bail!("did not find infohash")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue