Skip to content

Commit

Permalink
suppress clippy warning on python object constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Dec 16, 2022
1 parent 883e6fe commit a86d9b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chia_py_streamable_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub fn py_streamable_macro(input: TokenStream) -> TokenStream {
py_protocol.extend( quote! {
#[pymethods]
impl #ident {
#[allow(too_many_arguments)]
#[new]
fn new ( #(#fnames : #ftypes),* ) -> #ident {
#ident { #(#fnames),* }
Expand Down

0 comments on commit a86d9b9

Please sign in to comment.