updated codegen match to leverage unused values

This commit is contained in:
KCaverly 2023-09-26 17:11:20 -04:00
parent e8dd412ac1
commit 90f17d4a28

View File

@ -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}"