fix compile error

This commit is contained in:
Jacob Lifshay 2019-11-27 14:31:16 -08:00
parent 3c1a975ec0
commit 2915f50fc4
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ fn impl_class(
doc: syn::Lit, doc: syn::Lit,
descriptors: Vec<(syn::Field, Vec<FnType>)>, descriptors: Vec<(syn::Field, Vec<FnType>)>,
) -> TokenStream { ) -> TokenStream {
let cls_name = get_class_python_name(cls, attr); let cls_name = get_class_python_name(cls, attr).to_string();
let extra = { let extra = {
if let Some(freelist) = &attr.freelist { if let Some(freelist) = &attr.freelist {