Explorar o código

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

Thomas Bächler %!s(int64=7) %!d(string=hai) anos
pai
achega
35ec580eac
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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;