fix compile error
This commit is contained in:
parent
3c1a975ec0
commit
2915f50fc4
|
@ -262,7 +262,7 @@ fn impl_class(
|
|||
doc: syn::Lit,
|
||||
descriptors: Vec<(syn::Field, Vec<FnType>)>,
|
||||
) -> TokenStream {
|
||||
let cls_name = get_class_python_name(cls, attr);
|
||||
let cls_name = get_class_python_name(cls, attr).to_string();
|
||||
|
||||
let extra = {
|
||||
if let Some(freelist) = &attr.freelist {
|
||||
|
|
Loading…
Reference in New Issue