summaryrefslogtreecommitdiff
path: root/src/msg.rs
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2018-11-04 06:04:24 -0800
committerRyan Dahl <ry@tinyclouds.org>2018-11-04 06:04:24 -0800
commit1241b8e9babfec3e87c8958e2065966ee5dd1335 (patch)
treeb6d0892ac841a70014dc95b2517058ec008ac70d /src/msg.rs
parent765f229357587fb66dfe04d3c48d62c6aae9ce71 (diff)
Fix clippy warnings (#1149)
Run with: cargo clippy https://github.com/rust-lang-nursery/rust-clippy
Diffstat (limited to 'src/msg.rs')
-rw-r--r--src/msg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msg.rs b/src/msg.rs
index fcb10fff5..2606d6a06 100644
--- a/src/msg.rs
+++ b/src/msg.rs
@@ -1,5 +1,6 @@
#![allow(unused_imports)]
#![allow(dead_code)]
+#![cfg_attr(feature = "cargo-clippy", allow(clippy))]
use flatbuffers;
// GN_OUT_DIR is set either by build.rs (for the Cargo build), or by
// build_extra/rust/run.py (for the GN+Ninja build).