File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/stackable-versioned-macros/src/codegen/container/struct Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,9 +183,9 @@ impl Struct {
183183 fn from_json_value( object: #serde_json_path:: Value ) -> :: std:: result:: Result <Self , #parse_object_error> {
184184 let object_kind = object
185185 . get( "kind" )
186- . ok_or_else( || #parse_object_error:: FieldMissing { field: "kind" . to_string ( ) } ) ?
186+ . ok_or_else( || #parse_object_error:: FieldMissing { field: "kind" . to_owned ( ) } ) ?
187187 . as_str( )
188- . ok_or_else( || #parse_object_error:: FieldNotStr { field: "kind" . to_string ( ) } ) ?;
188+ . ok_or_else( || #parse_object_error:: FieldNotStr { field: "kind" . to_owned ( ) } ) ?;
189189
190190 // Note(@sbernauer): The kind must be checked here, because it is
191191 // possible for the wrong object to be deserialized.
You can’t perform that action at this time.
0 commit comments