Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
updated codegen match to leverage unused values
KCaverly90f17d4a28c7
diff --git a/crates/assistant/src/prompts.rs b/crates/assistant/src/prompts.rsindex 00db4c1302e..04cf5d089be 100644--- a/crates/assistant/src/prompts.rs+++ b/crates/assistant/src/prompts.rs@@ -123,7 +123,7 @@ pub fn generate_content_prompt(}match kind {- CodegenKind::Generate { position } => {+ CodegenKind::Generate { position: _ } => {writeln!(prompt,"Assume the cursor is located where the `<|START|` marker is."@@ -140,7 +140,7 @@ pub fn generate_content_prompt().unwrap();}- CodegenKind::Transform { range } => {+ CodegenKind::Transform { range: _ } => {writeln!(prompt,"Modify the users code selected text based upon the users prompt: {user_prompt}"