summaryrefslogtreecommitdiff
path: root/src/subcommands/external.rs
diff options
context:
space:
mode:
authorJustin Su <injustsu@gmail.com>2025-07-15 08:09:05 -0400
committerGitHub <noreply@github.com>2025-07-15 08:09:05 -0400
commitcd4a9f4e74d243d44bdaebde5d4188cdc100951a (patch)
treecb81cc74209efc3ea35d1030b27d74e2344aa75c /src/subcommands/external.rs
parented09269ebace8aad765c57a2821502ebb8c11f11 (diff)
Fix clippy errors (#2016)
Diffstat (limited to 'src/subcommands/external.rs')
-rw-r--r--src/subcommands/external.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subcommands/external.rs b/src/subcommands/external.rs
index dc98a20..0ab56dc 100644
--- a/src/subcommands/external.rs
+++ b/src/subcommands/external.rs
@@ -37,7 +37,7 @@ impl std::fmt::Debug for SubCmdKind {
SubCmdKind::Git(Some(arg)) => {
return formatter.write_fmt(format_args!("\"git {}\"", arg.escape_debug()))
}
- _ => format!("{}", self),
+ _ => format!("{self}"),
};
formatter.write_str("\"")?;
formatter.write_str(&s)?;