Use new name for broken_intra_doc_links lint

We also add the lint to crates in the workspace that didn't have it.

Closes zcash/librustzcash#279.
This commit is contained in:
Jack Grigg 2021-03-27 08:27:17 +13:00
parent afa0b29e62
commit 9d9c0579f8
7 changed files with 15 additions and 3 deletions

View File

@ -17,6 +17,9 @@
//! [Section 7.6.1: Equihash.]: https://zips.z.cash/protocol/protocol.pdf#equihash
//! [BK16]: https://www.internetsociety.org/sites/default/files/blogs-media/equihash-asymmetric-proof-of-work-based-generalized-birthday-problem.pdf
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
mod verify;
#[cfg(test)]

View File

@ -4,7 +4,7 @@
//! light clients.
// Catch documentation errors caused by code changes.
#![deny(intra_doc_link_resolution_failure)]
#![deny(broken_intra_doc_links)]
pub mod address;
pub mod data_api;

View File

@ -29,6 +29,9 @@
//! [`CompactBlock`]: zcash_client_backend::proto::compact_formats::CompactBlock
//! [`init_cache_database`]: crate::chain::init::init_cache_database
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
use std::collections::HashMap;
use std::fmt;
use std::path::Path;

View File

@ -1,2 +1,5 @@
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
pub mod consensus;
pub mod transparent;

View File

@ -1,6 +1,9 @@
//! Chain history library for Zcash
//!
//! To be used in zebra and via FFI bindings in zcashd
// Catch documentation errors caused by code changes.
#![deny(broken_intra_doc_links)]
#![warn(missing_docs)]
mod entry;

View File

@ -5,7 +5,7 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
// Catch documentation errors caused by code changes.
#![deny(intra_doc_link_resolution_failure)]
#![deny(broken_intra_doc_links)]
pub mod block;
pub mod consensus;

View File

@ -5,7 +5,7 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
// Catch documentation errors caused by code changes.
#![deny(intra_doc_link_resolution_failure)]
#![deny(broken_intra_doc_links)]
use bellman::groth16::{prepare_verifying_key, Parameters, PreparedVerifyingKey, VerifyingKey};
use bls12_381::Bls12;