diff options
| author | sigoden <sigoden@gmail.com> | 2025-06-28 19:17:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-28 19:17:43 +0800 |
| commit | 419790fb74fbaf47d54519238b5a542a3875961e (patch) | |
| tree | 8917db58a4a77a514079bf115d670a3f82003c03 /src/utils/variables.rs | |
| parent | bad300bbce72dff6f085fc8b94e8ffbdd103f47f (diff) | |
| download | aichat-419790fb74fbaf47d54519238b5a542a3875961e.tar.gz | |
chore: clippy (#1334)
Diffstat (limited to 'src/utils/variables.rs')
| -rw-r--r-- | src/utils/variables.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/variables.rs b/src/utils/variables.rs index bfec4ca..991da2a 100644 --- a/src/utils/variables.rs +++ b/src/utils/variables.rs @@ -25,7 +25,7 @@ pub fn interpolate_variables(text: &mut String) { "__cwd__" => env::current_dir() .map(|v| v.display().to_string()) .unwrap_or_default(), - _ => format!("{{{{{}}}}}", key), + _ => format!("{{{{{key}}}}}"), } }) .to_string(); |
