mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +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 {
|
||||
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}"
|
||||
|
|
Loading…
Reference in a new issue