Skip to content

Commit

Permalink
fix type specific issue with std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Aug 12, 2024
1 parent 6ba9d55 commit eda1af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion struct-patch/examples/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct Item {
fn main() {
let mut item = Item::default();

let mut patch = Item::new_empty_patch();
let mut patch: ItemPatch = Item::new_empty_patch();

patch.field_int = Some(7);

Expand Down

0 comments on commit eda1af8

Please sign in to comment.