Skip to content

Commit

Permalink
#![allow(non_snake_case)] in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
HKalbasi committed Sep 24, 2023
1 parent c36ab7b commit 7b3c123
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zngur-generator/src/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ impl Default for RustFile {
fn default() -> Self {
Self {
text: r#"
#![allow(non_snake_case)]
#[allow(dead_code)]
mod zngur_types {
pub struct ZngurCppOpaqueBorrowedObject(());
Expand Down

0 comments on commit 7b3c123

Please sign in to comment.