Skip to content

Commit

Permalink
clippy: Fix clippy::mixed_attributes_style lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Apr 27, 2024
1 parent 199badc commit d38ca55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions io-surface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ const RGB: GLenum = 0x1907;
const TEXTURE_RECTANGLE_ARB: GLenum = 0x84F5;
const UNSIGNED_INT_8_8_8_8_REV: GLenum = 0x8367;

#[allow(non_snake_case)]
#[allow(non_snake_case, non_upper_case_globals)]
pub mod IOSurfaceLockOptions {
#![allow(non_upper_case_globals)]
pub const kIOSurfaceLockReadOnly: u32 = 0x00000001;
pub const kIOSurfaceLockAvoidSync: u32 = 0x00000002;
}
Expand Down

0 comments on commit d38ca55

Please sign in to comment.