aboutsummaryrefslogtreecommitdiffstats
path: root/yt/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yt/src/cli.rs')
-rw-r--r--yt/src/cli.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/src/cli.rs b/yt/src/cli.rs
index d19586e..2208caa 100644
--- a/yt/src/cli.rs
+++ b/yt/src/cli.rs
@@ -23,6 +23,7 @@ use crate::{
#[derive(Parser, Debug)]
#[clap(author, version, about, long_about = None)]
+#[allow(clippy::module_name_repetitions)]
/// An command line interface to select, download and watch videos
pub struct CliArgs {
#[command(subcommand)]
@@ -127,7 +128,7 @@ pub enum Command {
fn byte_parser(input: &str) -> Result<u64, anyhow::Error> {
Ok(input
.parse::<Bytes>()
- .with_context(|| format!("Failed to parse '{}' as bytes!", input))?
+ .with_context(|| format!("Failed to parse '{input}' as bytes!"))?
.as_u64())
}