소스 검색

Disable linting for generated files

Johannes Hofmann 7 년 전
부모
커밋
3d69b061b1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/context.rs

+ 2
- 0
src/context.rs 파일 보기

@@ -1,6 +1,8 @@
1 1
 use glutin;
2 2
 
3 3
 pub(crate) mod gl {
4
+    #![allow(unknown_lints)]
5
+    #![allow(clippy)]
4 6
     pub use self::Gles2 as Gl;
5 7
     include!(concat!(env!("OUT_DIR"), "/gles_bindings.rs"));
6 8
 }