File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
crates/chia_py_streamable_macro/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,6 @@ pub fn py_streamable_macro(input: proc_macro::TokenStream) -> proc_macro::TokenS
348348
349349 if py_pickle {
350350 let pickle = quote ! {
351- #[ allow( clippy:: needless_question_mark) ]
352351 #[ pyo3:: pymethods]
353352 impl #ident {
354353 pub fn __setstate__(
@@ -373,7 +372,7 @@ pub fn py_streamable_macro(input: proc_macro::TokenStream) -> proc_macro::TokenS
373372 pub fn __getnewargs__<' py>( & self , py: pyo3:: Python <' py>) -> pyo3:: PyResult <pyo3:: Bound <' py, pyo3:: types:: PyTuple >> {
374373 let mut args = Vec :: new( ) ;
375374 #( args. push( #crate_name:: ChiaToPython :: to_python( & self . #fnames, py) ?) ; ) *
376- Ok ( pyo3:: types:: PyTuple :: new( py, args) ? )
375+ pyo3:: types:: PyTuple :: new( py, args)
377376 }
378377 }
379378 } ;
You can’t perform that action at this time.
0 commit comments