chaokunyang commented on code in PR #3087:
URL: https://github.com/apache/fory/pull/3087#discussion_r2646501565
##########
rust/fory-derive/src/object/read.rs:
##########
@@ -520,7 +551,7 @@ pub fn gen_read(struct_ident: &Ident) -> TokenStream {
let rs_type_id = std::any::TypeId::of::<Self>();
context.get_type_info(&rs_type_id)?
};
- <#struct_ident as
fory_core::StructSerializer>::fory_read_compatible(context, type_info)
+ <Self as
fory_core::StructSerializer>::fory_read_compatible(context, type_info)
Review Comment:
Nice change!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]