mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +00:00
updated codegen match to leverage unused values
This commit is contained in:
parent
e8dd412ac1
commit
90f17d4a28
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ pub fn generate_content_prompt(
|
||||||
}
|
}
|
||||||
|
|
||||||
match kind {
|
match kind {
|
||||||
CodegenKind::Generate { position } => {
|
CodegenKind::Generate { position: _ } => {
|
||||||
writeln!(
|
writeln!(
|
||||||
prompt,
|
prompt,
|
||||||
"Assume the cursor is located where the `<|START|` marker is."
|
"Assume the cursor is located where the `<|START|` marker is."
|
||||||
|
@ -140,7 +140,7 @@ pub fn generate_content_prompt(
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
CodegenKind::Transform { range } => {
|
CodegenKind::Transform { range: _ } => {
|
||||||
writeln!(
|
writeln!(
|
||||||
prompt,
|
prompt,
|
||||||
"Modify the users code selected text based upon the users prompt: {user_prompt}"
|
"Modify the users code selected text based upon the users prompt: {user_prompt}"
|
||||||
|
|
Loading…
Reference in a new issue