Skip to content

Commit 67431fa

Browse files
committed
only allow non_snake_case in mod ffi
1 parent 28082f8 commit 67431fa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@
7070
#![crate_type = "lib"]
7171
#![feature(unsafe_destructor,unboxed_closures)]
7272

73-
#![allow(non_snake_case)]
74-
7573
extern crate libc;
7674
extern crate time;
7775

@@ -85,7 +83,8 @@ pub mod core;
8583
pub mod types;
8684

8785
/// bindgen-bindings to libsqlite3
88-
#[allow(non_camel_case_types, dead_code)]
86+
#[allow(non_camel_case_types, non_snake_case)]
87+
#[allow(dead_code)]
8988
pub mod ffi;
9089

9190
pub mod access;

0 commit comments

Comments
 (0)