main return more specific type
This commit is contained in:
parent
8517ac3ac7
commit
a6787d0688
4 changed files with 20 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
|||
use indicatif::ProgressStyle;
|
||||
use std::error::Error;
|
||||
use tokio;
|
||||
use tokio::io;
|
||||
|
||||
mod config;
|
||||
mod data;
|
||||
mod utils;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn Error>> {
|
||||
async fn main() -> Result<(), io::Error> {
|
||||
let config = config::validate_config();
|
||||
let args = config::parse_cli();
|
||||
let (count, skip_amount, list) = config::collate_values(args, &config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue