소스 검색

Disable the "variable does not need to be mutable" compiler warning in generated code

Thomas Bächler 7 년 전
부모
커밋
35ec580eac
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/src/lib.in.rs
  2. 1 0
      src/lib.in.rs

+ 1 - 0
core/src/lib.in.rs

@@ -1 +1,2 @@
+#[allow(unused_mut)]
 pub mod connection;

+ 1 - 0
src/lib.in.rs

@@ -1 +1,2 @@
+#[allow(unused_mut)]
 pub mod spirc;