Bump MSRV and cleanup with clippy

This commit is contained in:
2025-12-17 22:20:31 +01:00
parent f388c31594
commit 364875a84e
13 changed files with 27 additions and 26 deletions

View File

@@ -1,11 +1,10 @@
use clap::{arg, Parser, ValueEnum};
use clap::{Parser, ValueEnum};
use smol_str::SmolStr;
use super::{ShowDays, SortBy};
#[derive(Debug, Parser)]
#[command(author, version, about)]
pub struct Cli {
/// Which currencies do you want to fetch rates for?
#[arg(long = "currencies", short = 'c')]
@@ -42,7 +41,7 @@ pub struct Cli {
#[arg(long = "invert", short = 'i')]
pub should_invert: bool,
//// Max decimals to keep in price.
/// Max decimals to keep in price.
#[arg(long = "max-decimals", short = 'd', default_value_t = 5)]
pub max_decimals: u8,