Skip to content

Commit

Permalink
allow clippy::redundant static lifetimes
Browse files Browse the repository at this point in the history
bindgen has some redundant static lifetimes, I don't think we can fix that.
  • Loading branch information
maan2003 committed May 24, 2021
1 parent 84352c3 commit c97a335
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions druid-shell/src/platform/x11/xkbcommon_sys.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#![allow(unused, non_upper_case_globals, non_camel_case_types)]
// generated code has some redudant static lifetimes, I don't think we can change that.
#![allow(clippy::redundant_static_lifetimes)]

use nix::libc::FILE;
include!(concat!(env!("OUT_DIR"), "/xkbcommon_sys.rs"));

0 comments on commit c97a335

Please sign in to comment.