mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
updated codegen match to leverage unused values
This commit is contained in:
parent
e8dd412ac1
commit
90f17d4a28
@ -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 New Issue
Block a user