ソースを参照

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
 }