Add #[allow(non_snake_case)] to function with generated name
Fixes #1145
This commit is contained in:
parent
c6abf24cca
commit
7acf8d9f57
|
@ -166,6 +166,7 @@ fn slot_initialization(
|
|||
Span::call_site(),
|
||||
);
|
||||
Ok(quote! {
|
||||
#[allow(non_snake_case)]
|
||||
#[pyo3::ctor::ctor]
|
||||
fn #init() {
|
||||
let mut table = #table::default();
|
||||
|
|
Loading…
Reference in New Issue