main return more specific type

This commit is contained in:
Troy 2025-01-16 21:21:51 +00:00
parent 8517ac3ac7
commit a6787d0688
Signed by: troy
GPG key ID: DFC06C02ED3B4711
4 changed files with 20 additions and 8 deletions

View file

@ -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);