Temporarily allow clippy::result_unit_err lint

Fixing these lints is deferred to zcash/librustzcash#367.
This commit is contained in:
Jack Grigg 2021-03-27 18:54:29 +13:00
parent 56b577b31e
commit 63db2729e9
3 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,8 @@
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
// Temporary until we have addressed all Result<T, ()> cases.
#![allow(clippy::result_unit_err)]
pub mod address;
pub mod data_api;

View File

@ -6,6 +6,8 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
// Temporary until we have addressed all Result<T, ()> cases.
#![allow(clippy::result_unit_err)]
pub mod block;
pub mod consensus;

View File

@ -6,6 +6,8 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
// Temporary until we have addressed all Result<T, ()> cases.
#![allow(clippy::result_unit_err)]
use bellman::groth16::{prepare_verifying_key, Parameters, PreparedVerifyingKey, VerifyingKey};
use bls12_381::Bls12;