summaryrefslogtreecommitdiffstats
path: root/ipc
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 /ipc
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 'ipc')
-rw-r--r--ipc/src/assuan/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/src/assuan/mod.rs b/ipc/src/assuan/mod.rs
index 4234b00e..1be49aed 100644
--- a/ipc/src/assuan/mod.rs
+++ b/ipc/src/assuan/mod.rs
@@ -26,7 +26,7 @@ const MAX_LINE_LENGTH: usize = 1000;
// Load the generated code.
lalrpop_util::lalrpop_mod!(
- #[allow(missing_docs)] grammar, "/assuan/grammar.rs");
+ #[allow(missing_docs, unused_parens)] grammar, "/assuan/grammar.rs");
/// A connection to an Assuan server.
///