fix!: remove possible panic from client builder
fix: simplify integer divisions
This commit is contained in:
parent
182f9ebfb8
commit
32b4800b46
9 changed files with 40 additions and 21 deletions
|
|
@ -393,7 +393,10 @@ async fn main() {
|
|||
storage_dir.push("rustypipe");
|
||||
_ = std::fs::create_dir(&storage_dir);
|
||||
|
||||
let rp = RustyPipe::builder().storage_dir(storage_dir).build();
|
||||
let rp = RustyPipe::builder()
|
||||
.storage_dir(storage_dir)
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
match cli.command {
|
||||
Commands::Download {
|
||||
|
|
|
|||
Reference in a new issue