summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-06-28 19:17:43 +0800
committerGitHub <noreply@github.com>2025-06-28 19:17:43 +0800
commit419790fb74fbaf47d54519238b5a542a3875961e (patch)
tree8917db58a4a77a514079bf115d670a3f82003c03 /src/cli.rs
parentbad300bbce72dff6f085fc8b94e8ffbdd103f47f (diff)
downloadaichat-419790fb74fbaf47d54519238b5a542a3875961e.tar.gz
chore: clippy (#1334)
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 3204c58..8f18d02 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -113,14 +113,14 @@ impl Cli {
if stdin_text.is_empty() {
Ok(Some(text))
} else {
- Ok(Some(format!("{} -- {}", text, stdin_text)))
+ Ok(Some(format!("{text} -- {stdin_text}")))
}
} else {
let text = self.text.join(" ");
if stdin_text.is_empty() {
Ok(Some(text))
} else {
- Ok(Some(format!("{}\n{}", text, stdin_text)))
+ Ok(Some(format!("{text}\n{stdin_text}")))
}
}
}