Skip to content

Commit

Permalink
little improvment
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Apr 5, 2024
1 parent 3fc9ea5 commit 347cf39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jackson-wasm/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,11 @@ pub fn map_class_property_to_virtual_property(

let mut json_virtual_property;

for context_group in &context_groups_with_default {
for context_group in context_groups_with_default {
let metadata_key_with_context = make_metadata_key_with_context(
"JsonVirtualProperty",
MakeMetadataKeyWithContextOptions {
context_group: Some(context_group.to_string()),
context_group: Some(context_group),
prefix: None,
suffix: Some(class_property.clone()),
},
Expand All @@ -381,5 +381,5 @@ pub fn map_class_property_to_virtual_property(
}
}

class_property.clone()
class_property
}

0 comments on commit 347cf39

Please sign in to comment.