summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-03-30 22:49:15 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-03-30 22:51:30 +0200
commit13da17b51764dfb285d5febdbcdee24a2d6c4021 (patch)
treefcfcdb747ae01a7d7527e227cfe84c605d8c8c8d /store
parentcaeffd92f3806816e913c0642e8b1b16484e15ea (diff)
Allow unused parens on generated code
Since around Rust 1.40 the unused parens lint is more aggressive. Since all of these warnings are from generated code (effectively false positives), let's just silence the warnings.
Diffstat (limited to 'store')
-rw-r--r--store/src/store_protocol_capnp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/src/store_protocol_capnp.rs b/store/src/store_protocol_capnp.rs
index aa6df043..77bf97a4 100644
--- a/store/src/store_protocol_capnp.rs
+++ b/store/src/store_protocol_capnp.rs
@@ -1,2 +1,3 @@
// Include the capnp-generated code.
+#![allow(unused_parens)]
include!(concat!(env!("OUT_DIR"), "/src/store_protocol_capnp.rs"));